Remove-RdsHostPool

Removes a host pool from a tenant.

Syntax

Remove-RdsHostPool
      [-TenantName] <String>
      [-Name] <String>
      [<CommonParameters>]

Description

The Remove-RdsHostPool cmdlet removes a host pool from the specified tenant. You must first remove all session hosts and app groups associated with the host pool before running this command.

Examples

Example 1

PS C:\> Remove-RdsHostPool -TenantName "contoso" -Name "contosoHostPool"

This command removes a host pool in the tenant.

Parameters

-Name

The name of the host pool.

Type:String
Aliases:HostPoolName
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-TenantName

The name of the tenant.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

System.String

Outputs

System.Object