Intrinsics. Get Resolved Provider Path From PSPath(String, ProviderInfo) Method
Resolves a drive or provider qualified absolute or relative path that may contain wildcard characters into one or more provider-internal paths.
public: System::Collections::ObjectModel::Collection<System::String ^> ^ GetResolvedProviderPathFromPSPath(System::String ^ path, [Runtime::InteropServices::Out] System::Management::Automation::ProviderInfo ^ % provider);
public System.Collections.ObjectModel.Collection<string> GetResolvedProviderPathFromPSPath (string path, out System.Management.Automation.ProviderInfo provider);
member this.GetResolvedProviderPathFromPSPath : string * -> System.Collections.ObjectModel.Collection<string>
Public Function GetResolvedProviderPathFromPSPath (path As String, ByRef provider As ProviderInfo) As Collection(Of String)
The drive or provider qualified path to be resolved. This path may contain wildcard characters which will get resolved.
The provider for which the returned paths should be used.
path is null.
If the path is a provider-qualified path for a provider that is not loaded into the system.
path refers to a drive that could not be found.
If the provider associated with the
path threw an
exception when building its path.
If the provider that the
path represents is not a NavigationCmdletProvider
path starts with "~" and the home location is not set for
path does not contain wildcard characters and
could not be found.