Skip to content

Commit a2a4146

Browse files
Update run-command-managed.md
changed status to instance view for windows managed run command
1 parent fc7f6c7 commit a2a4146

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)