AliasInfo Class

Definition

Provides information about a mapping between a command name and a real command.

public class AliasInfo : System.Management.Automation.CommandInfo
Inheritance

Inherited Members

System.Management.Automation.CommandInfo

Properties

Definition

Gets the name of the command to which the alias refers.

Description

Gets or sets the description for the alias

Options

Gets or sets the scope options for the alias

OutputType

The objects output from an alias are the objects output from the resolved command. If we can't resolve the command, assume nothing is output - so use void.

ReferencedCommand

Gets the command information for the command that is immediately referenced by this alias.

ResolvedCommand

Gets the command information for the command that the alias eventually resolves to.