New-RASAVDHost
The cmdlet creates an object of type Azure Virtual Desktop Host.
New-RASAVDHost [[-SiteId] <uint>] -AzureId <string> -HostPoolId <uint> [<CommonParameters>]
New-RASAVDHost [[-SiteId] <uint>] -HostPoolId <uint> -NumberOfHosts <uint> [<CommonParameters>]
The cmdlet creates an object of type Azure Virtual Desktop Host.
-HostPoolId <uint> Host Pool Id of the AVD Host.
-NumberOfHosts <uint> Number of Hosts to create from template.
-AzureId <string> The Azure Host ID of the AVD Host.
Found as Resource ID in Azure.
-SiteId <uint> Site ID from which to retrieve the AVD Host information.
If the parameter is omitted, the Licensing Server site ID will be used.
<CommonParameters>
-none-
-none-
---------- EXAMPLE 1 ----------
New-RASAVDHost -HostPoolID 1 -AzureID "/subscriptions/b64739563-74S9-849s-ks94-89sa5nbj83oe/resourceGroups/My-Resource-Group/providers/Microsoft.Compute/virtualMachines/My-Virtual-Machine"
Creates an AVD Host from a Standalone AVD Pool. ---------- EXAMPLE 2 ----------
New-RASAVDHost -HostPoolID 1 -NumberOfHosts 2 -SiteID 1
Creates AVD Hosts from a Templated AVD Host Pool.