SessionStateAliasEntry SessionStateAliasEntry SessionStateAliasEntry Constructors

Definition

Overloads

SessionStateAliasEntry(String, String) SessionStateAliasEntry(String, String) SessionStateAliasEntry(String, String)

Define an alias entry to add to the initial session state

SessionStateAliasEntry(String, String, String) SessionStateAliasEntry(String, String, String) SessionStateAliasEntry(String, String, String)

Define an alias entry to add to the initial session state

SessionStateAliasEntry(String, String, String, ScopedItemOptions) SessionStateAliasEntry(String, String, String, ScopedItemOptions) SessionStateAliasEntry(String, String, String, ScopedItemOptions)

Define an alias entry to add to the initial session state

SessionStateAliasEntry(String, String) SessionStateAliasEntry(String, String) SessionStateAliasEntry(String, String)

Define an alias entry to add to the initial session state

public SessionStateAliasEntry (string name, string definition);
new System.Management.Automation.Runspaces.SessionStateAliasEntry : string * string -> System.Management.Automation.Runspaces.SessionStateAliasEntry
Public Sub New (name As String, definition As String)
Parameters
name
String String String

Name of the alias

definition
String String String

The name of the command it resolves to

SessionStateAliasEntry(String, String, String) SessionStateAliasEntry(String, String, String) SessionStateAliasEntry(String, String, String)

Define an alias entry to add to the initial session state

public SessionStateAliasEntry (string name, string definition, string description);
new System.Management.Automation.Runspaces.SessionStateAliasEntry : string * string * string -> System.Management.Automation.Runspaces.SessionStateAliasEntry
Public Sub New (name As String, definition As String, description As String)
Parameters
name
String String String

Name of the alias

definition
String String String

The name of the command it resolves to

description
String String String

A description of the purpose of the alias.

SessionStateAliasEntry(String, String, String, ScopedItemOptions) SessionStateAliasEntry(String, String, String, ScopedItemOptions) SessionStateAliasEntry(String, String, String, ScopedItemOptions)

Define an alias entry to add to the initial session state

public SessionStateAliasEntry (string name, string definition, string description, System.Management.Automation.ScopedItemOptions options);
new System.Management.Automation.Runspaces.SessionStateAliasEntry : string * string * string * System.Management.Automation.ScopedItemOptions -> System.Management.Automation.Runspaces.SessionStateAliasEntry
Public Sub New (name As String, definition As String, description As String, options As ScopedItemOptions)
Parameters
name
String String String

Name of the alias

definition
String String String

The name of the command it resolves to

description
String String String

A description of the purpose of the alias.

options
ScopedItemOptions ScopedItemOptions ScopedItemOptions

Options defining the scope visibility, readonly and constant

Applies to