Azure PowerShell samples for Azure Lab Services

The following table includes links to sample Azure PowerShell scripts for Azure Lab Services.

Add an external user to a lab This PowerShell script adds an external user to a lab in Azure DevTest Labs.
Add marketplace images to a lab This PowerShell script adds marketplace images to a lab in Azure DevTest Labs.
Create a custom image from a VHD This PowerShell script creates a custom image in a lab in Azure DevTest Labs.
Create a custom role in a lab This PowerShell script creates a custom role in a lab in Azure Lab Services.
Set allowed VM sizes in a lab This PowerShell script sets allowed virtual machine (VM) sizes in a lab.