Skip to content

Commit d8c25d9

Browse files
authored
Update troubleshoot.md
1 parent cf71bcc commit d8c25d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/virtual-machines/extensions/troubleshoot.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,16 @@ Azure portal:
8787
In the portal, select the VM and in the left pane under the **Support + troubleshooting**, select **Redeploy + reapply**, then select **Reapply**.
8888

8989

90-
Azure PowerShell *(replace the RGName and VMName with your values)*:
90+
Azure PowerShell *(replace the RG Name and VM Name with your values)*:
9191

9292
```azurepowershell
93-
Set-AzVM -ResourceGroupName <RGName> -Name <VMName> -Reapply
93+
Set-AzVM -ResourceGroupName <RG Name> -Name <VM Name> -Reapply
9494
```
9595

96-
Azure CLI *(replace the RGName and VMName with your values)*:
96+
Azure CLI *(replace the RG Name and VM Name with your values)*:
9797

9898
```azurecli
99-
az vm reapply -g <RGName> -n <VMName>
99+
az vm reapply -g <RG Name> -n <VM Name>
100100
```
101101

102102
If a "VM Reapply" didn't work, you can add a new empty Data Disk to the VM from the Azure Management Portal, and then remove it later once the certificate has been added back.

0 commit comments

Comments
 (0)