Remove-RASAVDHostPool
Last updated
Last updated
Remove-RASAVDHostPool
The cmdlet removes an object of type Azure Virtual Desktop Host Pool.
Remove-RASAVDHostPool [-] <uint> [<>]
Remove-RASAVDHostPool [-] <> [<>]
Remove-RASAVDHostPool [-] <string> [[-] <uint>] [<>]
Removes an Azure Virtual Desktop Host Pool
-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.
To obtain a Azure Virtual Desktop object, use the Get-AVDHostPool command.
<CommonParameters>
-none-
---------- 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.
-InputObject <> The Azure Virtual Desktop Host Pool Settings to remove from a site.