Move-RASRDSHostPoolMember
SYNOPSIS
Moves one or multiple RD Session Host servers to a host pool.
SYNTAX
Move-RASRDSHostPoolMember [-HostPoolId] <uint> [-RDSIds] <uint[]> [<CommonParameters>]Move-RASRDSHostPoolMember [-HostPoolId] <uint> -RDSServer <string> [<CommonParameters>]Move-RASRDSHostPoolMember [-HostPoolName] <string> -RDSObject <RDSHost[]> [-SiteId <uint>]
[<CommonParameters>]Move-RASRDSHostPoolMember [-HostPoolName] <string> -RDSServer <string> [-SiteId <uint>]
[<CommonParameters>]Move-RASRDSHostPoolMember [-HostPoolObject] <RDSHostPool> -RDSObject <RDSHost[]>
[<CommonParameters>]Move-RASRDSHostPoolMember [-HostPoolObject] <RDSHostPool> -RDSServer <string> [<CommonParameters>]DESCRIPTION
Moves one or multiple RD Session Host servers to an existing host pool.
EXAMPLES
Example 1
Moves the specified RD Session Host server to the specified host pool.
Example 2
Moves a list of RD Session Host servers ($RDSList) to the specified host pool.
The $RDSList variable is an array of objects of type RDS. An RDS object representing an RD Session Host server is obtained using the Get-RASRDSHost cmdlet.
Example 3
Moves the specified RD Session Host server to the host pool specified by the $RDSHostPool variable.
$RDSHostPool is an object of type RDSHostPool, which is obtained using the Get-RASRDSHostPool cmdlet.
Example 4
Moves the specified RD Session Host server to the host pool obtained from the pipeline output.
PARAMETERS
-HostPoolName
RD Session Host Pool name.
-SiteId
Site ID where the RD Session Host Pool is located.
If the parameter is omitted, the site ID of the Licensing Server will be used.
-HostPoolId
The ID of the target RD Session Host Pool.
-HostPoolObject
An object of type RDS Group identifying the target RD Session Host Pool.
The object is obtained using the Get-RASRDSHostPool cmdlet.
Type reference: RDSHostPool
-RDSServer
The name of a RD Session Host server to add to the group.
-RDSObject
A list of RD Session Host servers (an array of objects of type RDS) to add to the group.
A RDS object representing a RD Session Host server is obtained using the Get-RASRDSHost cmdlet.
Type reference: RDSHost[]
-RDSIds
The IDs of RD Session Host servers to be added to the specified group.
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
RELATED LINKS
Last updated