Get-RASAVDVMSize
The cmdlet returns a list of Azure Virtual Desktop VM Sizes.
Get-RASAVDVMSize -Location <string> -ProviderId <uint> [<CommonParameters>]
Get-RASAVDVMSize -VMAzureId <string> -WorkspaceId <uint> [<CommonParameters>]
The cmdlet returns a list of Azure Virtual Desktop VM Sizes.
-ProviderId <uint> Provider ID from which to retrieve the Azure Virtual Desktop VMSize information.
-Location <string> Location of the Azure Virtual Desktop Provider.
-WorkspaceId <uint> Workspace ID from which to retrieve the Azure Virtual Desktop VMSize information.
-VMAzureId <string> Azure Virtual Desktop VM Id.
<CommonParameters>
-none-
---------- EXAMPLE 1 ----------
Get-RASAVDVMSize -ProviderId 2 -Location westeurope | Format-List
Retrieves all the VM Sizes which fall under the AVD Provider and Location specified.
The Format-List cmdlet formats the display output to include all available properties. ---------- EXAMPLE 2 ----------
Get-RASAVDVMSize -WorkspaceId 2 -VMAzureId "/subscriptions/w7647456-39g5-113d-pe43-34le8xwj92tn/resourceGroups/My-Resource-Group/providers/Microsoft.Compute/virtualMachines/My-Host"
Retrieves all the VM Sizes which fall under the AVD Workspace and VMAzure specified.
-none-