Skip to content

Commit cc5d4a1

Browse files
committed
Added Azure PowerShell and Azure CLI warning suppression
1 parent 06b63cb commit cc5d4a1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

deploy/update.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ $IPAM_PUBLIC_ACR = "azureipam.azurecr.io"
8888
# Set preference variables
8989
$ErrorActionPreference = "Stop"
9090

91+
# Hide Azure PowerShell SDK Warnings
92+
$Env:SuppressAzurePowerShellBreakingChangeWarnings = $true
93+
94+
# Hide Azure PowerShell SDK & Azure CLI Survey Prompts
95+
$Env:AzSurveyMessage = $false
96+
$Env:AZURE_CORE_SURVEY_MESSAGE = $false
97+
9198
# Set Log File Location
9299
$logPath = Join-Path -Path $ROOT_DIR -ChildPath "logs"
93100
New-Item -ItemType Directory -Path $logpath -Force | Out-Null

0 commit comments

Comments
 (0)