Remove-RASAVDHostPool
NAME
Remove-RASAVDHostPool
SYNOPSIS
The cmdlet removes an object of type Azure Virtual Desktop Host Pool.
SYNTAX
Remove-RASAVDHostPool [-Id] <uint> [<CommonParameters>]
Remove-RASAVDHostPool [-InputObject] <AVDHostPool> [<CommonParameters>]
Remove-RASAVDHostPool [-Name] <string> [[-SiteId] <uint>] [<CommonParameters>]
DESCRIPTION
Removes an Azure Virtual Desktop Host Pool
PARAMETERS
-Name <string> The name of the Azure Virtual Desktop Host Pool to remove from a site.
-SiteId <uint> Site ID from which to remove the Azure Virtual Desktop Host Pool.
If the parameter is omitted, the Licensing Server site ID will be used.
-Id <uint> The ID of a Azure Virtual Desktop Host Pool to remove from the site.
To obtain the ID, use the Get-AVDHostPool cmdlet.
-InputObject <AVDHostPool> The Azure Virtual Desktop Host Pool Settings to remove from a site.
To obtain a Azure Virtual Desktop object, use the Get-AVDHostPool command.
<CommonParameters>
INPUTS
OUTPUTS
-none-
EXAMPLES
---------- EXAMPLE 1 ----------
Remove-RASAVDHostPool -Name "AVDHostPool"
Removes the AVD Host Pool with Name AVDHostPool. ---------- EXAMPLE 2 ----------
Remove-RASAVDHostPool -Id 1
Removes the AVD Host Pool with Id 1.
RELATED LINKS
Last updated