How to START, RESTART, STOP and DELETE multiple Azure VM’s?

When we have Virtual Machines in Azure (opens new window), we have to stop, start and restart them. We can easily do this for one VM, in the overview blade of the VM in the Azure portal.

But how do we stop or restart multiple VMs at once?

We can do…


This content originally appeared on DEV Community and was authored by Pranam K

When we have Virtual Machines in Azure (opens new window), we have to stop, start and restart them. We can easily do this for one VM, in the overview blade of the VM in the Azure portal.

But how do we stop or restart multiple VMs at once?

We can do it in the Azure portal!

In this article, we will use the Azure portal to perform basic VM management tasks on multiple Azure VMs.

Prerequisites:

  1. An Azure subscription (If you don't have an Azure subscription, create a free account (opens new window)before you begin)
  2. Two or more existing Azure Virtual Machines (opens new window).
  • Use the Azure portal to control Azure VMs

We will use the Azure portal to stop, restart and delete multiple VMs at the same time in this article.

Go to the Azure portal (opens new window)

  • Click on the menu in the top-left and select "Virtual machines". This shows you all your Azure Virtual Machine's.

  • In the menu, you can see buttons for Start, Restart and Stop. If you don't see those buttons, you can reach them by opening the menu from the ... button.

Image description

(Options menu in the Virtual machines blade)

  • Select two Virtual Machines

  • Click the Restart button

  • Confirm the restart operation. This will restart the selected VMs, which can take a few minutes.

Image description

(Restart multiple Virtual Machines)

  • Select two VMs

  • Open the menu and click on Delete. This opens the Delete Resources blade.

  • Type "yes" to confirm the deletion and click Delete.

Image description

(Delete multiple Virtual Machines)

Conclusion:

We can use the Virtual Machine's blade in the Azure portal to Start, Stop, Restart and Delete multiple Azure Virtual Machine's (opens new window) at the same time.


This content originally appeared on DEV Community and was authored by Pranam K


Print Share Comment Cite Upload Translate Updates
APA

Pranam K | Sciencx (2022-07-01T06:32:18+00:00) How to START, RESTART, STOP and DELETE multiple Azure VM’s?. Retrieved from https://www.scien.cx/2022/07/01/how-to-start-restart-stop-and-delete-multiple-azure-vms/

MLA
" » How to START, RESTART, STOP and DELETE multiple Azure VM’s?." Pranam K | Sciencx - Friday July 1, 2022, https://www.scien.cx/2022/07/01/how-to-start-restart-stop-and-delete-multiple-azure-vms/
HARVARD
Pranam K | Sciencx Friday July 1, 2022 » How to START, RESTART, STOP and DELETE multiple Azure VM’s?., viewed ,<https://www.scien.cx/2022/07/01/how-to-start-restart-stop-and-delete-multiple-azure-vms/>
VANCOUVER
Pranam K | Sciencx - » How to START, RESTART, STOP and DELETE multiple Azure VM’s?. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/07/01/how-to-start-restart-stop-and-delete-multiple-azure-vms/
CHICAGO
" » How to START, RESTART, STOP and DELETE multiple Azure VM’s?." Pranam K | Sciencx - Accessed . https://www.scien.cx/2022/07/01/how-to-start-restart-stop-and-delete-multiple-azure-vms/
IEEE
" » How to START, RESTART, STOP and DELETE multiple Azure VM’s?." Pranam K | Sciencx [Online]. Available: https://www.scien.cx/2022/07/01/how-to-start-restart-stop-and-delete-multiple-azure-vms/. [Accessed: ]
rf:citation
» How to START, RESTART, STOP and DELETE multiple Azure VM’s? | Pranam K | Sciencx | https://www.scien.cx/2022/07/01/how-to-start-restart-stop-and-delete-multiple-azure-vms/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.