AliasInfo Members

Provides information about an alias that is used to invoke a command, such as a description of the alias, the name of the command that the alias refers to, and the .NET Framework types returned by that command.

The following tables list the members exposed by the AliasInfo type.

  Name Description
public property CommandType  Gets the Windows PowerShell defined type of the command, such as a cmdlet, function, filter, or script. (Inherited from CommandInfo)
public property Definition Overridden. Gets the name of the command that the alias refers to.
public property Description Gets and sets the description of the alias.
public property Module  Gets information about the module that defines this command. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo)
public property ModuleName  Gets the name of the module that defines the command. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo)
public property Name  Gets the name of the command. (Inherited from CommandInfo)
public property Options Gets and sets the scope options that define how the alias can be used.
public property OutputType Overridden. Gets the .NET Framework types that are returned by the command that the alias refers to.
public property Parameters  When overridden in a derived class, gets the parameters of the command. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo)
public property ParameterSets  Gets information about the parameter sets associated with the command. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo)
public property ReferencedCommand Gets information about the command that is immediately referenced by this alias.
public property RemotingCapability  Gets the remoting capabilities of this cmdlet when exposed in a context with ambient remoting. (Inherited from CommandInfo)
public property ResolvedCommand Gets information about the command that the alias eventually resolves to.
public property Visibility  When overridden in a derived class, gets or sets a constant that identifies whether the element is visible outside the runspace. For example, an element can be a private member of a module and therefore not visible to commands, such as pipeline commands, that are coming from outside the runspace. This property is introduced in Windows PowerShell 2.0. (Inherited from CommandInfo)
Top

(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodResolveParameter  Resolves a full, shortened, or aliased parameter name to the actual cmdlet parameter name, using the parameter resolution algorithm in Windows PowerShell. (Inherited from CommandInfo)
public methodToString  Overridden. Converts the information object of the derived class to a string.  (Inherited from Object)
Top

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
Top

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft