Windows desktop applications
Collapse the table of content
Expand the table of content
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.

CmdletProvider.SessionState Property


Updated: April 27, 2016

Applies To: Windows PowerShell

Gets the global session state for the current runspace.

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

public SessionState SessionState { get; }

Property Value

Type: System.Management.Automation.SessionState

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

For more information about providers, see Windows PowerShell Providers [ps].

Return to top

Community Additions

© 2016 Microsoft