File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -227,16 +227,16 @@ if ($resourceProviders.Count -gt 0 -and -not $planOnly) {
227227 Write-Host " Registering $provider for $subscriptionName ($subscriptionId )..." - ForegroundColor Yellow
228228 az provider register -- namespace $provider -- subscription $subscriptionId -- output none -- wait
229229 if ($LASTEXITCODE -eq 0 ) {
230- Write-Host " Registration initiated : $provider for $subscriptionName " - ForegroundColor Green
230+ Write-Host " Registration succeeded : $provider for $subscriptionName " - ForegroundColor Green
231231 } else {
232- Write-Host " Failed to register: $provider for $subscriptionName " - ForegroundColor Red
232+ Write-Host " Failed to register: $provider for $subscriptionName " - ForegroundColor Red
233233 }
234234 } else {
235- Write-Host " Already registered: $provider for $subscriptionName " - ForegroundColor Gray
235+ Write-Host " Already registered: $provider for $subscriptionName " - ForegroundColor Gray
236236 }
237237 }
238238 } else {
239- Write-Host " Could not get subscription ID for alias: $subscriptionName " - ForegroundColor Red
239+ Write-Host " Could not get subscription ID for alias: $subscriptionName " - ForegroundColor Red
240240 }
241241 } - ThrottleLimit $resourceProviderThrottleLimit
242242
You can’t perform that action at this time.
0 commit comments