< Back
Get-AMSession
Post
NAME Get-AMSession
SYNOPSIS
Gets AutoMate Enterprise user sessions.
SYNTAX
Get-AMSession [[-Connection] <Object>] [<CommonParameters>]
DESCRIPTION
Get-AMSession returns open SMC sessions from AutoMate Enterprise. This function uses the audit event log to
determine which sessions are open.
The results of this function could be inaccurate if a session wasn't closed property, or if audit events have aged
out since the last server start.
PARAMETERS
-Connection <Object>
The AutoMate Enterprise management server.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Gets all user sessions
Get-AMSession
RELATED LINKS
https://github.com/AutomatePS/AutomatePS
SYNOPSIS
Gets AutoMate Enterprise user sessions.
SYNTAX
Get-AMSession [[-Connection] <Object>] [<CommonParameters>]
DESCRIPTION
Get-AMSession returns open SMC sessions from AutoMate Enterprise. This function uses the audit event log to
determine which sessions are open.
The results of this function could be inaccurate if a session wasn't closed property, or if audit events have aged
out since the last server start.
PARAMETERS
-Connection <Object>
The AutoMate Enterprise management server.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Gets all user sessions
Get-AMSession
RELATED LINKS
https://github.com/AutomatePS/AutomatePS