Get-CurrentSessionId

Gets the current session identifier.

Powershell

Gets the current session identifier. Returns: the current session identifiers

Syntax

Get-CurrentSessionId []

Examples

Get-CurrentSessionId