共用方式為


CmdletProviderManagementIntrinsics.Get(String) Method

Definition

Gets the specified provider(s).

public:
 System::Collections::ObjectModel::Collection<System::Management::Automation::ProviderInfo ^> ^ Get(System::String ^ name);
public System.Collections.ObjectModel.Collection<System.Management.Automation.ProviderInfo> Get (string name);
member this.Get : string -> System.Collections.ObjectModel.Collection<System.Management.Automation.ProviderInfo>
Public Function Get (name As String) As Collection(Of ProviderInfo)

Parameters

name
String

Either the fully-qualified or friendly name for the provider.

Returns

The provider information for the specified provider.

Exceptions

If name is null or empty.

If the provider specified by name is not currently loaded.

Applies to