CommandInfo Members
Serves as a base class for information classes that describe cmdlets, functions, scripts, and other types of commands.
The following tables list the members exposed by the CommandInfo type.
| Name | Description | |
|---|---|---|
|
CommandType | Gets the Windows PowerShell defined type of the command, such as a cmdlet, function, filter, or script. |
|
Definition | When overridden in a derived class, gets the definition of the command. |
|
Module | Gets information about the module that defines this command. This property is introduced in Windows PowerShell 2.0. |
|
ModuleName | Gets the name of the module that defines the command. This property is introduced in Windows PowerShell 2.0. |
|
Name | Gets the name of the command. |
|
OutputType | When overridden in a derived class, gets the .NET Framework types returned by the command. |
|
Parameters | When overridden in a derived class, gets the parameters of the command. This property is introduced in Windows PowerShell 2.0. |
|
ParameterSets | Gets information about the parameter sets associated with the command. This property is introduced in Windows PowerShell 2.0. |
|
RemotingCapability | Gets the remoting capabilities of this cmdlet when exposed in a context with ambient remoting. |
|
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. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object) |
![]() | GetHashCode | (Inherited from Object) |
![]() | GetType | (Inherited from Object) |
![]() | ResolveParameter | Resolves a full, shortened, or aliased parameter name to the actual cmdlet parameter name, using the parameter resolution algorithm in Windows PowerShell. |
![]() | ToString | Overridden. Converts the information object of the derived class to a string. |
| Name | Description | |
|---|---|---|
|
Finalize | (Inherited from Object) |
|
MemberwiseClone | (Inherited from Object) |
Reference
CommandInfo ClassSystem.Management.Automation Namespace
Other Resources
Windows PowerShell SDKSend comments about this topic to Microsoft.