AliasInfo AliasInfo AliasInfo AliasInfo Class

Definition

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

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

Properties

CommandType CommandType CommandType CommandType

Gets the type of the command

(Inherited from CommandInfo)
Definition Definition Definition Definition

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

Description Description Description Description

Gets or sets the description for the alias

Module Module Module Module

The module that defines this cmdlet. This will be null for commands that are not defined in the context of a module.

(Inherited from CommandInfo)
ModuleName ModuleName ModuleName ModuleName

The module name of this command. It will be empty for commands not imported from either a module or snapin.

(Inherited from CommandInfo)
Name Name Name Name

Gets the name of the command.

(Inherited from CommandInfo)
Options Options Options Options

Gets or sets the scope options for the alias

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

Parameters Parameters Parameters Parameters

Return the parameters for this command.

(Inherited from CommandInfo)
ParameterSets ParameterSets ParameterSets ParameterSets

Gets the information about the parameters and parameter sets for this command.

(Inherited from CommandInfo)
ReferencedCommand ReferencedCommand ReferencedCommand ReferencedCommand

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

RemotingCapability RemotingCapability RemotingCapability RemotingCapability

The remoting capabilities of this cmdlet, when exposed in a context with ambient remoting.

(Inherited from CommandInfo)
ResolvedCommand ResolvedCommand ResolvedCommand ResolvedCommand

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

Source Source Source Source

Gets the source of the command (shown by default in Get-Command)

(Inherited from CommandInfo)
Version Version Version Version

Gets the source version (shown by default in Get-Command)

(Inherited from CommandInfo)
Visibility Visibility Visibility Visibility

Indicates if the command is to be allowed to be executed by a request external to the runspace.

(Inherited from CommandInfo)

Methods

ResolveParameter(String) ResolveParameter(String) ResolveParameter(String) ResolveParameter(String)

Resolves a full, shortened, or aliased parameter name to the actual cmdlet parameter name, using PowerShell's standard parameter resolution algorithm.

(Inherited from CommandInfo)
ToString() ToString() ToString() ToString()

for diagnostic purposes

(Inherited from CommandInfo)

Applies to