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 Constructor (String, Type, String)


Updated: April 27, 2016

Applies To: Windows PowerShell

Creates a new SessionStateCmdletEntry object that contains the name of the cmdlet, the .NET Framework type of the cmdlet class, and the Help file of the cmdlet. This constructor is introduced by Windows PowerShell 2.0.

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

public SessionStateCmdletEntry(
	string name,
	Type implementingType,
	string helpFileName


Type: System.String

The name of the cmdlet.

Type: System.Type

The .NET Framework type of the class where the cmdlet is implemented.

Type: System.String

The fully qualified path to the Help file for the cmdlet. Do not include any language specific sub-directories. Windows PowerShell appends the appropriate language sub-directories when they are needed.

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

Return to top

Community Additions