Azure DevTest Labs: Use Azure CLI to create and manage lab VMs

20 April 2017

The latest version of Azure CLI 2.0 includes commands for Azure DevTest Labs users to create and manage lab VMs. You can easily achieve the following tasks through command-line experience by using your favorite operating systems (including Windows, Linux, and MacOS):

  • Create a VM from an Azure Marketplace image, custom image, or formula
  • List VMs and relevant resources such as images, artifacts, and formulas
  • Start/stop a VM
  • Connect to a VM
  • Apply artifacts to a VM

For more details, check out the DevTest Labs CLI command reference. If you are new to Azure CLI, follow these instructions to install Azure CLI 2.0.

Free account

Learn and build with $200 in credit, and keep going for free

Start for free

Visual Studio

Subscribers get up to $1800 per year of Azure services

Activate now

Start-ups

Join the BizSpark programme and get free Azure services

Learn more