Export (0) Print
Expand All

PSCmdlet.SessionState Property

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)

'Usage
Dim instance As PSCmdlet
Dim value As SessionState

value = instance.SessionState

public SessionState SessionState { get; }
/** @property */
public SessionState get_SessionState ()

public function get SessionState () : SessionState

Property Value

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 Windows PowerShell Cmdlets.


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 Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft