New-RASAVDHost
SYNOPSIS
The cmdlet creates an object of type Azure Virtual Desktop Host.
SYNTAX
New-RASAVDHost [[-SiteId] <uint>] -AzureId <string> -HostPoolId <uint> [<CommonParameters>]New-RASAVDHost [[-SiteId] <uint>] -HostPoolId <uint> -NumberOfHosts <uint> [<CommonParameters>]DESCRIPTION
The cmdlet creates an object of type Azure Virtual Desktop Host.
EXAMPLES
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
Creates AVD Hosts from a Templated AVD Host Pool.
PARAMETERS
-HostPoolId
Host Pool Id of the AVD Host.
-NumberOfHosts
Number of Hosts to create from template.
-AzureId
The Azure Host ID of the AVD Host.
Found as Resource ID in Azure.
-SiteId
Site ID from which to retrieve the AVD Host information.
If the parameter is omitted, the Licensing Server site ID will be used.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
None
RELATED LINKS
Last updated