Skip to content

Commit fb88578

Browse files
committed
minor formatting edit
1 parent f3df041 commit fb88578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/update-manager/prerequsite-for-schedule-patching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Set-AzVMOperatingSystem -VM $VirtualMachine -Windows -PatchMode "AutomaticByPlat
162162
$AutomaticByPlatformSettings = $VirtualMachine.OSProfile.WindowsConfiguration.PatchSettings.AutomaticByPlatformSettings
163163
164164
if ($null -eq $AutomaticByPlatformSettings) {
165-
$VirtualMachine.OSProfile.WindowsConfiguration.PatchSettings.AutomaticByPlatformSettings = New-Object -TypeName Microsoft.Azure.Management.Compute.Models.WindowsVMGuestPatchAutomaticByPlatformSettings -Property @{BypassPlatformSafetyChecksOnUserSchedule = $true}
165+
$VirtualMachine.OSProfile.WindowsConfiguration.PatchSettings.AutomaticByPlatformSettings = New-Object -TypeName Microsoft.Azure.Management.Compute.Models.WindowsVMGuestPatchAutomaticByPlatformSettings -Property @{BypassPlatformSafetyChecksOnUserSchedule = $true}
166166
} else {
167167
$AutomaticByPlatformSettings.BypassPlatformSafetyChecksOnUserSchedule = $true
168168
}

0 commit comments

Comments
 (0)