This commit is contained in:
MAGDY SALEM 2023-10-30 16:48:13 -07:00
Родитель 36817d4969
Коммит 95db76dab1
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -132,9 +132,9 @@ $kv_check=az rest --method post --uri $KeyVaultApiUri --headers 'Content-Type=ap
if( $kv_check.reason -eq "AlreadyExists")
{
Write-Host ""
Write-Host "🛑 KeyVault name" -NoNewline -ForegroundColor Red
Write-Host "🛑 KeyVault name " -NoNewline -ForegroundColor Red
Write-Host "$KeyVault" -NoNewline -ForegroundColor Red -BackgroundColor Yellow
Write-Host "already exists." -ForegroundColor Red
Write-Host " already exists." -ForegroundColor Red
Write-Host "To Purge KeyVault please use the following doc:"
Write-Host "https://learn.microsoft.com/en-us/cli/azure/keyvault?view=azure-cli-latest#az-keyvault-purge."
Write-Host "You could use new KeyVault name by using parameter" -NoNewline
@ -150,7 +150,7 @@ $sql_exists = Get-AzureRmSqlServer -ServerName $SQLServerName -ResourceGroupName
if ($sql_exists)
{
Write-Host ""
Write-Host "🛑 SQl Server name" -NoNewline -ForegroundColor Red
Write-Host "🛑 SQl Server name " -NoNewline -ForegroundColor Red
Write-Host "$SQLServerName" -NoNewline -ForegroundColor Red -BackgroundColor Yellow
Write-Host " already exists." -ForegroundColor Red
Write-Host "Please delete existing instance or use new sql Instance name by using parameter"