Get-RASRDSHostPoolStatus
Retrieves the status of one or multiple RD Session Host Pools.
Get-RASRDSHostPoolStatus [[-Id] <uint>] [<CommonParameters>] Get-RASRDSHostPoolStatus [[-InputObject] <RDSHostPool>] [<CommonParameters>] Get-RASRDSHostPoolStatus [[-Name] <string>] [[-SiteId] <uint>] [<CommonParameters>]
Retrieves information about the status of one or multiple RD Session Host Pools. The cmdlet returns an object of type RDSHostPoolStatus. To see the complete list of object properties, use the Format-List cmdlet (see examples). The result set contains only the major properties of a host pool; it does not include the complete list of settings supported in RAS.
-Name <string> The name of the RDS Host Pool for which to retrieve the status.
-SiteId <uint> Site ID from which to retrieve the specified RDS Host Pool Name. If the parameter is omitted, the site ID of the Licensing Server will be used.
-Id <uint> The ID of the RDS Host Pool. To obtain the ID, use the Get-RASRDSHostPool cmdlet.
-InputObject <RDSHostPool> An object of type RDSHostPool representing the RDS Host Pool. To obtain the object, use the Get-RASRDSHostPool cmdlet.
<CommonParameters>
---------- EXAMPLE 1 ---------- Get-RASRDSHostPoolStatus "My RD Session Host Pool" | Format-List Retrieves the status of the host pool specified by name from the Licensing Server site. To retrieve the info from a specific site, specify the -SiteId parameter. The Format-List cmdlet formats the display output to include all available host pool properties. ---------- EXAMPLE 2 ---------- Get-RASRDSHostPoolStatus -Id 10 Retrieves information about the host pool specified by ID from the Licensing Server site.