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.

SessionStateCmdletEntry Class

Defines a cmdlet for an initial session state configuration. The initial session state of a runspace defines the elements, such as cmdlets, that are available when the runspace is opened. This class is introduced in Windows PowerShell 2.0.


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

'Usage
Dim instance As SessionStateCmdletEntry

public ref class SessionStateCmdletEntry sealed : public SessionStateCommandEntry
public final class SessionStateCmdletEntry extends SessionStateCommandEntry
public final class SessionStateCmdletEntry extends SessionStateCommandEntry

The cmdlet entry is added to the initial session state through the Commands property of the InitialSessionState object.


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


Show:
© 2016 Microsoft