Skip to content

Commit 0a237e2

Browse files
authored
updates as per feedback
addressing feedback in issue #55077 https://github.com/MicrosoftDocs/azure-docs/issues/55077
1 parent d6ec803 commit 0a237e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ For additional documentation and instructions, see [az vm repair](https://docs.m
6868
az extension update -n vm-repair
6969
```
7070

71-
3. Run `az vm repair create`. This command will create a copy of the OS disk for the non-functional VM, create a repair VM, and attach the disk.
71+
3. Run `az vm repair create`. This command will create a copy of the OS disk for the non-functional VM, create a repair VM in a new Resource Group, and attach the OS disk copy. The repair VM will be the same size and region as the non-functional VM specified.
7272

7373
```azurecli-interactive
7474
az vm repair create -g MyResourceGroup -n myVM --repair-username username --repair-password password!234 --verbose
7575
```
7676

77-
4. Run `az vm repair run`. This command will run the specified repair script on the attached disk via the repair VM.
77+
4. Run `az vm repair run`. This command will run the specified repair script on the attached disk via the repair VM. If the troubleshooting guide you are using specified a run-id please use it here, otherwise you can use `az vm repair list-scripts` to see available repair scripts.
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 win-hello-world --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)