We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e200ba4 commit e70ee7aCopy full SHA for e70ee7a
articles/virtual-machines/automatic-vm-guest-patching.md
@@ -231,7 +231,7 @@ Use the [Set-AzVMOperatingSystem](/powershell/module/az.compute/set-azvmoperatin
231
232
```azurepowershell-interactive
233
Get-AzVM -VM $VirtualMachine -Windows -ComputerName $ComputerName -Credential $Credential
234
-Set-AzVMOperatingSystem -VM $VirtualMachine -ProvisionVMAgent -EnableAutoUpdate -PatchMode "AutomaticByPlatform"
+Set-AzVMOperatingSystem -VM $VirtualMachine -PatchMode "AutomaticByPlatform"
235
Update-AzVM -VM $VirtualMachine
236
```
237
0 commit comments