SessionState Class
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Provides access to data that describes the current operating environment of a Windows PowerShell runspace or module. The properties of this class retrieve objects that can then be used to either monitor or modify the session state data.
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
System.Management.Automation Namespace
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
A session state can describe the global session state of a runspace or it can describe the session- state of a module that has been added to a runspace. In both cases, the session state data is public data that is stored in the current instance of the Windows PowerShell engine.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Target Platforms
Windows Developer Preview, Windows Server Developer PreviewReference
SessionState MembersSystem.Management.Automation Namespace
Other Resources
Windows PowerShell SDKSend comments about this topic to Microsoft.