Skip to content

Commit c853dc5

Browse files
authored
Update Step #4 to use hyphens instead of en dash.
The command under step #4 gives an error when you attempt to copy & paste it: "az: error: unrecognized arguments: –g MyResourceGroup –n MyVM -–run-on-repair". This is because the dashes these are "en dashes" rather than "hyphens". Changing them to hyphens.
1 parent 78e38c0 commit c853dc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/virtual-machines/troubleshooting/repair-windows-vm-using-azure-virtual-machine-repair-commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ For additional documentation and instructions, see [az vm repair](https://docs.m
7777
4. Run `az vm repair run`. This command will run the specified repair script on the attached disk via the repair VM.
7878

7979
```azurecli-interactive
80-
az vm repair run g MyResourceGroup n MyVM -run-on-repair --run-id 2 --verbose
80+
az vm repair run -g MyResourceGroup -n MyVM --run-on-repair --run-id 2 --verbose
8181
```
8282

8383
5. Run `az vm repair restore`. This command will swap the repaired OS disk with the original OS disk of the VM.

0 commit comments

Comments
 (0)