JumpStart # 25– Stop/Start/ReStart an Azure VM using Azure PowerShell Cmdlets

In this Jumpstart, we are going to see how to stop/start/restart an Azure VM using Azure PowerShell cmdlets.

I would recommend to read this post prior on how to create VM using Azure Cmdlets – http://www.intstrings.com/ramivemula/articles/jumpstart-23-create-azure-vm-using-azure-powershell-cmdlets/

Step 1 – Create a windows Server 2012 R2 VM as shown in above tutorial.

Stop VM:

image

As it says, if we stop the last VM of the cloud service, then the deployment IP will be changed. So beware of this fact and use –StayProvisioned effectively.

Start VM:

image

Restart VM:

image

Happy coding!!!

You may also like...