Skip to content

Get-TerminalSession

SYNOPSIS

PSCX Cmdlet: Gets information on terminal services sessions.

SYNTAX

Get-TerminalSession [-Resolve] [[-Id] <Int32[]>] [[-ComputerName] <String[]>] [-Wait] [<CommonParameters>]

DESCRIPTION

Gets information on terminal services sessions.

EXAMPLES

EXAMPLE 1

PS C:\>


PARAMETERS

-ComputerName

@{Text=}

Type: System.String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Id

@{Text=}

Type: System.Int32[]
Parameter Sets: (All)
Aliases: SessionId

Required: False
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Resolve

@{Text=}

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Wait

Wait for results before returning.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Back to top