- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to start the Azure VM using Azure CLI in PowerShell?
To start the stopped Azure VM using Az CLI, we can use the az vm start command. Before starting the azure VM, make sure that you are connected to the desired subscription and the Azure cloud account.
To start the specific VM, we will use the command below.
PS C:\> az vm start -n vmname -g RGname --verbose
Or you can use,
PS C:\> az vm start --name vmname --resource-group RGName --verbose
When you start the multiple VMs, you can specify the “--no-wait” parameter.
PS C:\> az vm start -n vmname -g RGname –no-wait
Advertisements