Partilhar via


PSModuleInfo.ExportedCommands Property

Definition

Gets the aggregated list of visible commands exported from the module. If there are two commands of different types exported with the same name (e.g. alias 'foo' and cmdlet 'foo') the combined dictionary will only contain the highest precedence cmdlet (e.g. the alias 'foo' since aliases shadow cmdlets.

public:
 property System::Collections::Generic::Dictionary<System::String ^, System::Management::Automation::CommandInfo ^> ^ ExportedCommands { System::Collections::Generic::Dictionary<System::String ^, System::Management::Automation::CommandInfo ^> ^ get(); };
public System.Collections.Generic.Dictionary<string,System.Management.Automation.CommandInfo> ExportedCommands { get; }
member this.ExportedCommands : System.Collections.Generic.Dictionary<string, System.Management.Automation.CommandInfo>
Public ReadOnly Property ExportedCommands As Dictionary(Of String, CommandInfo)

Property Value

Applies to