AliasInfo AliasInfo AliasInfo Class

Definition

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

public class AliasInfo : System.Management.Automation.CommandInfo
type AliasInfo = class
    inherit CommandInfo
Public Class AliasInfo
Inherits CommandInfo
Inheritance

Properties

CommandType CommandType CommandType Inherited from CommandInfo
Definition Definition Definition

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

Description Description Description

Gets or sets the description for the alias

Module Module Module Inherited from CommandInfo
ModuleName ModuleName ModuleName Inherited from CommandInfo
Name Name Name Inherited from CommandInfo
Options Options Options

Gets or sets the scope options for the alias

OutputType OutputType 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.

ParameterSets ParameterSets ParameterSets Inherited from CommandInfo
Parameters Parameters Parameters Inherited from CommandInfo
ReferencedCommand ReferencedCommand ReferencedCommand

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

RemotingCapability RemotingCapability RemotingCapability Inherited from CommandInfo
ResolvedCommand ResolvedCommand ResolvedCommand

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

Source Source Source Inherited from CommandInfo
Version Version Version Inherited from CommandInfo
Visibility Visibility Visibility Inherited from CommandInfo

Methods

ResolveParameter(String) ResolveParameter(String) ResolveParameter(String) Inherited from CommandInfo
ToString() ToString() ToString() Inherited from CommandInfo

Applies to