Skip to content

Commit 803aefc

Browse files
Merge pull request #226140 from ericd-mst-github/patch-16
Update run-command-managed.md
2 parents fa82e00 + a2a4146 commit 803aefc

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
@@ -91,7 +91,7 @@ Get-AzVMRunCommand -ResourceGroupName "myRG" -VMName "myVM"
9191
This command will retrieve current execution progress, including latest output, start/end time, exit code, and terminal state of the execution.
9292

9393
```powershell-interactive
94-
Get-AzVMRunCommand -ResourceGroupName "myRG" -VMName "myVM" -RunCommandName "RunCommandName" -Status
94+
Get-AzVMRunCommand -ResourceGroupName "myRG" -VMName "myVM" -RunCommandName "RunCommandName" -Expand InstanceView
9595
```
9696

9797
### Create or update Run Command on a VM using SourceScriptUri (storage blob SAS URL)

0 commit comments

Comments
 (0)