az vm start

Recently, I got the opportunity to utilize the az vm start Azure CLI command to start my Azure Virtual Machine. In this article, I will walk you through the syntax and usage of the az vm start command with specific examples and proper output screenshots.

az vm start

This command helps you to start a stopped Azure VM.

Syntax

az vm start [--ids] [--name] [--resource-group]

Example -1

The command below helps you start a stopped virtual machine named AzurelessonsNewVM that belongs to the newresgroup resource group.

az vm start -g newresgroup -n AzurelessonsNewVM

Before executing the above command I just logged in to the Azure Portal and verified that the virtual machine is already in a stopped state. Check out the screenshot below for your reference.

az vm start command

After executing the above command, I got the expected output, as shown below.

az vm start

Now, to cross-check, I logged in to the Azure Portal again, verified the Azure Virtual Machine’s status, and saw the VM started successfully, as shown in the screenshot below.

az vm start PowerShell

Example -2

The command below also helps you to start a stopped VM named AzurelessonsNewVM that belongs to the newresgroup resource group.

az vm start --name AzurelessonsNewVM --no-wait --resource-group newresgroup

Before executing the above command, Let us check the status of your Azure VM.

az vm start Azure CLI command

Let us execute the above command; I got the expected output, as shown in the screenshot below.

az vm start example

Now, just cross-checked in the Azure portal, you can see the Azure VM status changed to Running, which means the Azure VM started successfully, as shown in the screenshot below.

az vm start examples

You may also like following the articles below.

Azure Virtual Machine

DOWNLOAD FREE AZURE VIRTUAL MACHINE PDF

Download our free 25+ page Azure Virtual Machine guide and master cloud deployment today!