Edit

Share via


Get-WmsStation

Gets station information.

Syntax

GetById

Get-WmsStation
    [-StationId] <UInt32[]>
    [-Server <String>]
    [<CommonParameters>]

GetAll

Get-WmsStation
    [-All]
    [-Server <String>]
    [<CommonParameters>]

Description

The Get-WmsStation cmdlet gets information for the specified station or for all stations.

Examples

Example 1: Get information for all stations

PS C:\> Get-WmsStation -All
StationId         : 1
Name              : 1
IsAutoLogOn       : False
IsSplit           : False
CollabId          : 0
RemoteConnectionServerName   :
VirtualMachineName           :
VirtualMachineId  :
AutoLogOnUserName :
AutoLogOnPassword :
DeviceTypes       : {DT_Keyboard, DT_Mouse, DT_Audio, DT_Image...}
DeviceCounts      : {1, 0, 0, 0...}
ComputerName      : Test1
SessionId         : 3
SessionHostServer  : Test1
DisplayOrientation : Landscape

This command gets MultiPoint Server station information, along with the remote desktop session ID, if a session is associated with it.

If no session is associated with the station, 4294967295 is returned as the session ID.

Parameters

-All

Indicates that this operation applies to all sessions on the target host.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetAll
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Server

Specifies the fully qualified host name of the MultiPoint Server that is the target of the command. The default is localhost.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ComputerName

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-StationId

Specifies an array of station IDs.

Parameter properties

Type:

UInt32[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetById
Position:0
Mandatory:True
Value from pipeline:False
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.

Inputs

UInt32

String

Outputs

Microsoft.WindowsServerSolutions.MultipointServer.PowerShell.Commands.Library.WmsStation