Skip to content
Merged
Changes from all commits
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
6 changes: 3 additions & 3 deletions src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
### Example 1: Simple Example
```powershell
PS C:\> Set-AzVMRunCommand -ResourceGroupName $rgname -VMName $vmname -RunCommandName 'firstruncommand'
PS C:\> Set-AzVMRunCommand -ResourceGroupName $rgname -VMName $vmname -Location 'eastus' -RunCommandName 'firstruncommand'

Location Name Type
-------- ---- ----
eastus firstruncommand2 Microsoft.Compute/virtualMachines/runCommands
eastus firstruncommand Microsoft.Compute/virtualMachines/runCommands
```

The Set-AzVMRunCommand cmdlet updates properties for existing run command or adds a new run command to a virtual machine.
The Set-AzVMRunCommand cmdlet updates properties for existing run command or adds a new run command to a virtual machine.