Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Stop-TerminalSession

Stop-TerminalSession

pscx.dll

Synopsis

PSCX Cmdlet: Logs off a specific remote desktop session on a system running Terminal Services/Remote Desktop

Syntax

Stop-TerminalSession [-ComputerName] [-Id] [-Force] [-Wait] [<CommonParameters>]

Detailed Description

Logs off a specific remote desktop session on a system running Terminal Services/Remote Desktop

Parameters

-ComputerName <String[]>

Logs off a remote desktop session on the specified computers. The default is the local computer. Type the NETBIOS name, an IP address or a fully-qualified domain name of one or more computers.

Aliases

None

Required?

false

Position

1

Default value

localhost

Accept pipeline input?

true (ByValue, ByPropertyName)

Accept wildcard characters?

false

-Id <Int32[]>

Identifier of the session to be logged of.

Aliases

None

Required?

false

Position

2

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Force <SwitchParameter>

Does not ask for confirmation.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Wait <SwitchParameter>

Wait for results before returning.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- EXAMPLE 1 --------------------------