Move-RASRDSHostPoolMember

NAME

Move-RASRDSHostPoolMember

SYNOPSIS

Moves one or multiple RD Session Host servers to a host pool.

SYNTAX

Move-RASRDSHostPoolMember [-HostPoolIdarrow-up-right] <uint> [-RDSIdsarrow-up-right] <uint[]> [<CommonParametersarrow-up-right>] Move-RASRDSHostPoolMember [-HostPoolNamearrow-up-right] <string> -RDSObjectarrow-up-right <RDSHost[]arrow-up-right> [-SiteIdarrow-up-right <uint>] [<CommonParametersarrow-up-right>] Move-RASRDSHostPoolMember [-HostPoolNamearrow-up-right] <string> -RDSServerarrow-up-right <string> [-SiteIdarrow-up-right <uint>] [<CommonParametersarrow-up-right>] Move-RASRDSHostPoolMember [-HostPoolObjectarrow-up-right] <RDSHostPoolarrow-up-right> -RDSObjectarrow-up-right <RDSHost[]arrow-up-right> [<CommonParametersarrow-up-right>] Move-RASRDSHostPoolMember [-HostPoolObjectarrow-up-right] <RDSHostPoolarrow-up-right> -RDSServerarrow-up-right <string> [<CommonParametersarrow-up-right>]

DESCRIPTION

Moves one or multiple RD Session Host servers to an existing host pool.

PARAMETERS

-HostPoolName <string> RD Session Host Pool name.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> 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 <uint> The ID of the target RD Session Host Pool.

-HostPoolObject <RDSHostPoolarrow-up-right> An object of type RDS Group identifying the target RD Session Host Pool. The object is obtained using the Get-RASRDSHostPool cmdlet.

-RDSServer <string> The name of a RD Session Host server to add to the group.

-RDSObject <RDSHost[]arrow-up-right> 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-RDS cmdlet.

-RDSIds <uint[]> The IDs of RD Session Host servers to be added to the specified group.

<CommonParameters>

INPUTS

RDSHostPoolarrow-up-right

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Move-RASRDSHostPoolMember "My RD Session Host Pool" -RDSServer "server.company.dom" Moves the specified RD Session Host server to the specified host pool. ---------- EXAMPLE 2 ---------- Move-RASRDSHostPoolMember "My RD Session Host Pool" -RDSObject $RDSList 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 ---------- Move-RASRDSHostPoolMember $RDSHostPool -RDSServer "server.company.dom" 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 ---------- Get-RASRDSHostPool "My RD Session Host Pool" | Move-RASRDSHostPoolMember -RDSServer "server.company.dom" Moves the specified RD Session Host server to the host pool obtained from the pipeline output.

Last updated