Sdílet prostřednictvím


SessionStateAliasEntry Class

Definition

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

Constructors

SessionStateAliasEntry(String, String)

Define an alias entry to add to the initial session state.

SessionStateAliasEntry(String, String, String)

Define an alias entry to add to the initial session state.

SessionStateAliasEntry(String, String, String, ScopedItemOptions)

Define an alias entry to add to the initial session state.

Properties

CommandType

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

(Inherited from SessionStateCommandEntry)
Definition

The string defining the body of this alias...

Description

A string describing this alias...

Module

The SnapIn to load from initially.

(Inherited from InitialSessionStateEntry)
Name

The name of this entry.

(Inherited from InitialSessionStateEntry)
Options

Options controlling scope visibility and setability for this entry.

PSSnapIn

The SnapIn to load from initially.

(Inherited from InitialSessionStateEntry)
Visibility (Inherited from ConstrainedSessionStateEntry)

Methods

Clone()

Shallow-clone this object...

Applies to