You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Azs.Update.Admin/Module/Azs.Update.Admin/Generated.PowerShell.Commands/SwaggerPathCommands/Install-AzsUpdate.ps1
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -95,8 +95,10 @@ function Install-AzsUpdate {
95
95
$Name=Get-ResourceNameSuffix-ResourceName $Name
96
96
}
97
97
98
+
Write-Warning-Message 'It is strongly recommended to run Test-AzureStack(https://aka.ms/testazurestack) before applying update.'
99
+
98
100
if ($PsCmdlet.ShouldProcess($Name,"Install the update")) {
99
-
if ($Force.IsPresent-or$PsCmdlet.ShouldContinue("Install the update?","Performing operation ApplyWithHttpMessagesAsync on$Name")) {
101
+
if ($Force.IsPresent-or$PsCmdlet.ShouldContinue("It is strongly recommended to Test-AzureStack before applying update. Are you sure you want to continue?","Performing Update$Name")) {
0 commit comments