Remove-RASAVDHost
SYNOPSIS
The cmdlet removes an object of type Azure Virtual Desktop Host.
SYNTAX
Remove-RASAVDHost [[-SiteId] <uint>] -AzureId <string> -HostPoolId <uint> [<CommonParameters>]Remove-RASAVDHost [[-SiteId] <uint>] -ProviderId <uint> -VMId <string> [<CommonParameters>]DESCRIPTION
The cmdlet removes an object of type Azure Virtual Desktop Host.
EXAMPLES
Example 1
Remove-RASAVDHost -HostPoolID 1 -AzureID "/subscriptions/b64739563-74S9-849s-ks94-89sa5nbj83oe/resourceGroups/My-Resource-Group/providers/Microsoft.Compute/virtualMachines/My-Virtual-Machine"Removes an AVD Host from a Standalone AVD Host Pool.
Example 2
Removes AVD Hosts from a Templated AVD Host Pool.
PARAMETERS
-ProviderId
The Provider ID.
-VMId
The VM ID.
-HostPoolId
Host Pool Id.
-AzureId
The Azure Host ID.
-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