DriveManagementIntrinsics.GetAllForProvider(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets all the drives for the specified provider.
public:
System::Collections::ObjectModel::Collection<System::Management::Automation::PSDriveInfo ^> ^ GetAllForProvider(System::String ^ providerName);
public System.Collections.ObjectModel.Collection<System.Management.Automation.PSDriveInfo> GetAllForProvider (string providerName);
member this.GetAllForProvider : string -> System.Collections.ObjectModel.Collection<System.Management.Automation.PSDriveInfo>
Public Function GetAllForProvider (providerName As String) As Collection(Of PSDriveInfo)
Parameters
- providerName
- String
The name of the provider to get the drives for.
Returns
All the drives in all the scopes for the given provider.