Azure / Azure/azure-powershell

Support for devtest lab VM operations?

Open
#7,463 2 comments 0 reactions 1 assignee Claimed by @ryanvog View on GitHub
DevTest Labs Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

Hi, I'm trying to create and manage a VM within a devtest lab.

I've found:
- [How to create a VM using the Azure Portal UI](https://docs.microsoft.com/en-us/azure/lab-services/devtest-lab-create-first-vm)
- [How to create and manage VMs using the Azure CLI](https://docs.microsoft.com/en-us/azure/lab-services/devtest-lab-vmcli)
- [Deploying resources with Resource Manager templates and Azure PowerShell](https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-deploy), combined with the [Azure DevTestLab new VM template](https://github.com/Azure/azure-devtestlab/tree/master/Samples/101-dtl-create-vm-username-pwd-galleryimage)

But I'd really like to use PowerShell to do this (since I'm trying to write a PowerShell script/module to launch an environment to test PowerShell).

- Is this supported currently in Azure PowerShell and where can I read up on it?
- If not, is the best way to get this functionality from PowerShell to use ARM from a more generic cmdlet or maybe to use the .NET Azure SDK?
- In either of those cases where would the best place to read up on cobbling together an implementation of that?
- If this isn't implemented yet, is there somewhere I should move this request to?

Thanks for your help!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.