How to restart Azure Virtual Desktop

How Do I Restart Azure

This Azure tutorial will discuss the quick steps to restart Azure Virtual Desktop.

How to restart Azure VM

Sometimes, if you are facing any issue with your Virtual Machine and You want to restart your virtual machine once. As we all know, Restarting the virtual machine can fix some of the minor issues you face. This is the primary solution we use to follow.

1. log in to Azure Portal(https://portal.azure.com/)

2. Once you log in to the Azure Portal, search for Virtual machines there.

how to reboot azure vm

3. You will see the Virtual Machines created in your Azure subscription. It will show the VM name, Status, Resource Group, Location, etc.

how to restart azure vm

4. Select this VM from here from this window, click on the Virtual Machine name, and then click on the Restart button from the top, as highlighted below.

how to restart azure Virtual Machine

5. The next step is to click the Yes button from the next pop-up for confirmation on the restart option. Now wait a few minutes; it will restart the Virtual Machine successfully, and then you can connect the virtual machine as usual and do your day-to-day activities.

You can restart your virtual machine with a few simple clicks using the Microsoft Azure Portal.

Restart Azure VM PowerShell

We saw above how to restart VM Instances in Azure using the Azure Portal. Now let’s see How to Restart Azure VM PowerShell. Follow the below steps to restart the Azure Virtual Machine using PowerShell.

1. Open the PowerShell ISE as Run as administrator mode

azure vm restart

2. Use the Restart-AzureRmVM cmdlet to restart the Azure virtual machine.

PS C:\WINDOWS\system32> Restart-AzureRmVM -ResourceGroupName "Your Resource Group Name" -Name "Your Virtual Machine Name"

For Example:

PS C:\WINDOWS\system32> Restart-AzureRmVM -ResourceGroupName "newresgroup" -Name "MyNewVM"
restart-azvm

This is how to restart Azure VM using PowerShell.

Conclusion

In this tutorial, we discussed how to restart Azure VM using Azure Portal and PowerShell. Thanks for reading this article !!!