Windows desktop applications
Collapse the table of content
Expand the table of content
Information
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:
property SessionState^ SessionState {
	SessionState^ get();
}

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

Show:
© 2016 Microsoft