Remove-RdsHostPool
Removes a host pool from a tenant.
Syntax
Default (Default)
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.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | HostPoolName |
Parameter sets
(All)
| Position: | 1 |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-TenantName
The name of the tenant.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.