Share via


SessionStateCommandEntry Class

Definition

Command class so that all the commands can derive off this one. Adds the flexibility of adding additional derived class, such as ProxyCommand for Exchange. Derived classes - Alias, Application, Cmdlet, Function, Script.

public ref class SessionStateCommandEntry abstract : System::Management::Automation::Runspaces::ConstrainedSessionStateEntry
public abstract class SessionStateCommandEntry : System.Management.Automation.Runspaces.ConstrainedSessionStateEntry
type SessionStateCommandEntry = class
    inherit ConstrainedSessionStateEntry
Public MustInherit Class SessionStateCommandEntry
Inherits ConstrainedSessionStateEntry
Inheritance
Derived

Constructors

SessionStateCommandEntry(String, SessionStateEntryVisibility)
SessionStateCommandEntry(String)

Base constructor for all SessionState commands.

Properties

CommandType

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

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

Clone()

Shallow-clone this object.

(Inherited from InitialSessionStateEntry)

Applies to