Open rjmholt opened 5 years ago
@rjmholt Hey Robert, it appears that we don't have any cmdlets around this functionality in the AzureRM.DevTestLabs
module, but the operations are in the SDK used by this module.
@ryanvog Hey Ryan, do you know if there are plans for the DevTestLabs team to implement cmdlets for these missing operations in the SDK?
Hey @cormacpayne, thanks for that info. I was actually playing around with exactly the source you linked when you responded. (For anyone curious, made a dummy dotnet core project with that as a dependency, published it and Add-Type
d it).
Using the SDK directly with PowerShell isn't terribly ergonomic at present though, since it makes heavy use of partial classes and extension methods. I also noticed that the API types don't align closely to Azure PowerShell's, so plugging existing Azure PowerShell into the SDK requires a fair amount of massaging. But I think it is still possible.
Hi, I'm trying to create and manage a VM within a devtest lab.
I've found:
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).
Thanks for your help!