For the complete documentation index, see llms.txt. This page is also available as Markdown.

Remove-RASRDSHostPool

SYNOPSIS

Removes an RD Session Host Pool from a site.

SYNTAX

Remove-RASRDSHostPool [-Id] <uint> [<CommonParameters>]
Remove-RASRDSHostPool [-InputObject] <RDSHostPool> [<CommonParameters>]
Remove-RASRDSHostPool [-Name] <string> [[-SiteId] <uint>] [<CommonParameters>]

DESCRIPTION

Removes an RD Session Host Pool from a site.

EXAMPLES

Example 1

Remove-RASRDSHostPool "My RDS Host Pool"

Removes the host pool specified by name from the Licensing Server site (default).

To remove a host pool from a specific site, specify the -SiteId parameter.

Example 2

Removes the host pool specified by ID from the Licensing Server site. To obtain the host pool ID, use the Get-RASRDSHostPool cmdlet.

Example 3

Removes an RD Session Host Pool, which is identified by an object obtained from the pipeline output.

PARAMETERS

-Name

The name of a RD Session Host server host pool to remove from a site.

-SiteId

Site ID from which to remove the specified host pool.

If the parameter is omitted, the site ID of the Licensing Server will be used.

-Id

RD Session Host Pool ID. To obtain the ID of a host pool, use the Get-RASRDSHostPool cmdlet.

-InputObject

A RD Session Host Pool object (an object of type RDSHostPool) to remove from a site.

A RDSHostPool object representing a group is obtained using the Get-RASRDSHostPool cmdlet.

Type reference: RDSHostPool

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

RDSHostPool

OUTPUTS

None

Last updated