The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSCmdlet.SessionState Property


Updated: April 27, 2016

Applies To: Windows PowerShell

Gets information about the current state of the current session where the cmdlet is running.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

Public ReadOnly Property SessionState As SessionState

Property Value

Type: System.Management.Automation.SessionState

A SessionState object that describes the current state of the session.

For more information about session state, see Windows PowerShell Session State.

For more information about cmdlets, see Cmdlet Overview.

Return to top

Community Additions