Skip to content

Latest commit

 

History

History
68 lines (50 loc) · 1.61 KB

Get-OpenSession.md

File metadata and controls

68 lines (50 loc) · 1.61 KB
external help file Module Name online version schema
ComputerManagement-help.xml
ComputerManagement
2.0.0

Get-OpenSession

SYNOPSIS

Return a list of open sessions

SYNTAX

Get-OpenSession [[-ComputerName] <Object>] [<CommonParameters>]

DESCRIPTION

This function returns a list of open session on a given server. The output is similar to that of the Manage Open Sessions dialog in the Share and Storage Management console.

EXAMPLES

EXAMPLE 1

Get-OpenSessions -ComputerName fs

User          Computer         ConnectTime     IdleTime
----          --------         -----------     --------
user1         10.10.1.62              1615            1
user2         10.10.1.156             7529           17

This example shows the basic usage of the command.

PARAMETERS

-ComputerName

This is the FQDN or NetBIOS name of the computer

Type: System.Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: (hostname)
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

FunctionName : Get-OpenSessions Created by : Jeff Patton Date Coded : 09/26/2011 11:35:40

RELATED LINKS