Skip to content

Commit 979f7d2

Browse files
Added -Location parameter to Set- AzVMRunCommand (Azure#18885)
* Added -Location parameter to Set- AzVMRunCommand * Update src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md * Fixed typos * Fixed typo Co-authored-by: Beisi Zhou <[email protected]>
1 parent f241b1f commit 979f7d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
### Example 1: Simple Example
22
```powershell
3-
PS C:\> Set-AzVMRunCommand -ResourceGroupName $rgname -VMName $vmname -RunCommandName 'firstruncommand'
3+
PS C:\> Set-AzVMRunCommand -ResourceGroupName $rgname -VMName $vmname -Location 'eastus' -RunCommandName 'firstruncommand'
44
55
Location Name Type
66
-------- ---- ----
7-
eastus firstruncommand2 Microsoft.Compute/virtualMachines/runCommands
7+
eastus firstruncommand Microsoft.Compute/virtualMachines/runCommands
88
```
99

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

0 commit comments

Comments
 (0)