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
EXAMPLES
Example 1
Remove-RASAVDHostPool -Name "AVDHostPool"Removes the AVD Host Pool with Name AVDHostPool.
Example 2
Removes the AVD Host Pool with Id 1.
PARAMETERS
-Name
The name of the Azure Virtual Desktop Host Pool to remove from a site.
-SiteId
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
The ID of a Azure Virtual Desktop Host Pool to remove from the site.
To obtain the ID, use the Get-AVDHostPool cmdlet.
-InputObject
The Azure Virtual Desktop Host Pool Settings to remove from a site.
To obtain a Azure Virtual Desktop object, use the Get-AVDHostPool command.
Type reference: AVDHostPool
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
AVDHostPool
OUTPUTS
None
RELATED LINKS
Last updated