Skip to content

Commit 72e0de3

Browse files
authored
Added -Location parameter to Set- AzVMRunCommand
1 parent 6f20c36 commit 72e0de3

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 $locationname -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)