Get-WmsStation

Gets station information.

Syntax

Get-WmsStation
   [-StationId] <UInt32[]>
   [-Server <String>]
   [<CommonParameters>]
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.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Server

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

Type:String
Aliases:ComputerName
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-StationId

Specifies an array of station IDs.

Type:UInt32[]
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

UInt32[]

String

Outputs

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