Azure DevTest Labs: Use Azure CLI to claim VMs in a lab
Share
Services
The latest version of Azure CLI 2.0 includes commands for Azure DevTest Labs users to:
* List all the claimable VMs in a lab.
* Claim a specific VM based on the VM name.
* Claim a random VM from the claimable pool.
When a claimable VM name is not specified, the command will claim a random VM from the pool. For more information about the claim commands, check out the [DevTest Labs CLI command reference](https://docs.microsoft.com/en-us/cli/azure/lab/vm#claim). If you are new to Azure CLI, follow [these instructions to install Azure CLI 2.0](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli).
* Virtual Machines
* Azure DevTest Labs
* Features
* SDK and Tools
* [ Azure DevTest Labs](https://azure.microsoft.com/en-gb/products/devtest-lab/)
* [ Virtual Machines](https://azure.microsoft.com/en-gb/products/virtual-machines/)
What else is happening at Microsoft Azure?
Read update
Services
Share
Read update
Services
Share
We’re retiring Azure Time Series Insights on 7 July 2024 – transition to Azure Data Explorer
May 31st, 2024
Services
Share