Skip to content

Commit d38fce2

Browse files
Corrected az vm run-command list example
az vm run-command list uses --vm-name instead of --name. This resolves https://github.com/MicrosoftDocs/azure-docs/issues/92452.
1 parent 91a4edf commit d38fce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/virtual-machines/windows/run-command-managed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ az vm run-command create --name "myRunCommand" --vm-name "myVM" --resource-group
5151
This command will return a full list of previously deployed Run Commands along with their properties.
5252

5353
```azurecli-interactive
54-
az vm run-command list --name "myVM" --resource-group "myRG"
54+
az vm run-command list --vm-name "myVM" --resource-group "myRG"
5555
```
5656

5757
### Get execution status and results

0 commit comments

Comments
 (0)