Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Compute/Compute/help/Set-AzVMBootDiagnostic.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ The **Set-AzVMBootDiagnostic** cmdlet modifies boot diagnostics properties of a
```
PS C:\> $VM = Get-AzVM -ResourceGroupName "ResourceGroup11" -Name "ContosoVM07"
PS C:\> Set-AzVMBootDiagnostic -VM $VM -Enable -ResourceGroupName "ResourceGroup11" -StorageAccountName "DiagnosticStorage"
PS C:\> Update-AzVM -VM $VM
```

The first command gets the virtual machine named ContosoVM07 by using **Get-AzVM**.
Expand Down