Get-RASRDSHost
NAME
Get-RASRDSHost
SYNOPSIS
Retrieves information about one or multiple RD Session Host servers.
SYNTAX
Get-RASRDSHost [-Id] <uint> [<CommonParameters>]
Get-RASRDSHost [[-Server] <string>] [[-SiteId] <uint>] [<CommonParameters>]
DESCRIPTION
Retrieves the information about one or multiple RD Session Host servers.
It returns an array of objects of type RDS, each including properties of an RD Session Host.
To see the complete list of object properties, use the Format-List cmdlet (see examples).
Note: the result set contains only the major server properties; it does not include all of the settings supported in RAS.
PARAMETERS
-Server <string> The name of the RD Session Host server for which to retrieve the information.
This must be the actual server name used in the RAS farm.
-SiteId <uint> Site ID from which to retrieve the RD Session Host server information.
If the parameter is omitted, the Licensing Server site ID will be used.
-Id <uint> The ID of a RD Session Host server for which to retrieve the information.
<CommonParameters>
INPUTS
-none-
OUTPUTS
EXAMPLES
---------- EXAMPLE 1 ----------
Get-RASRDSHost "server.company.dom" | Format-List
Retrieves properties of the specified RD Session Host server.
The Format-List cmdlet formats the display output to include all available server properties. ---------- EXAMPLE 2 ----------
Get-RASRDSHost -Id 5
Retrieves properties of an RD Session Host server specified by ID.
RELATED LINKS
Last updated