Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SessionStateCmdletEntry Class

Definition

Namespace:
System.Management.Automation.Runspaces
Assembly:
System.Management.Automation.dll
Package:
Microsoft.PowerShell.5.1.ReferenceAssemblies v1.0.0
Package:
System.Management.Automation v7.4.15
Package:
System.Management.Automation v7.5.6
Package:
System.Management.Automation v7.6.1

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

List a cmdlet to add to this session state entry.

public ref class SessionStateCmdletEntry sealed : System::Management::Automation::Runspaces::SessionStateCommandEntry
public sealed class SessionStateCmdletEntry : System.Management.Automation.Runspaces.SessionStateCommandEntry
type SessionStateCmdletEntry = class
 inherit SessionStateCommandEntry
Public NotInheritable Class SessionStateCmdletEntry
Inherits SessionStateCommandEntry
Inheritance

Constructors

Name Description
SessionStateCmdletEntry(String, Type, String)

Properties

Name Description
CommandType

Returns the type of the command using an enum instead of requiring a full reflection type check.

(Inherited from SessionStateCommandEntry)
HelpFileName
ImplementingType
Module

The SnapIn to load from initially.

(Inherited from InitialSessionStateEntry)
Name

The name of this entry.

(Inherited from InitialSessionStateEntry)
PSSnapIn

The SnapIn to load from initially.

(Inherited from InitialSessionStateEntry)
Visibility (Inherited from ConstrainedSessionStateEntry)

Methods

Name Description
Clone()

Shallow-clone this object...

Applies to