Intrinsics. Get Resolved PSPath From PSPath(String) Method
Resolves a drive or provider qualified absolute or relative path that may contain wildcard characters into one or more absolute drive or provider qualified paths.
public: System::Collections::ObjectModel::Collection<System::Management::Automation::PathInfo ^> ^ GetResolvedPSPathFromPSPath(System::String ^ path);
public System.Collections.ObjectModel.Collection<System.Management.Automation.PathInfo> GetResolvedPSPathFromPSPath (string path);
member this.GetResolvedPSPathFromPSPath : string -> System.Collections.ObjectModel.Collection<System.Management.Automation.PathInfo>
Public Function GetResolvedPSPathFromPSPath (path As String) As Collection(Of PathInfo)
The drive or provider qualified path to be resolved. This path may contain wildcard characters which will get resolved.
path is null.
path is a provider-qualified path
and the specified provider does not exist.
path is a drive-qualified path and
the specified drive does not exist.
If the provider throws an exception when its MakePath gets called.
If the provider does not support multiple items.
If the home location for the provider is not set and
path starts with a "~".
path does not contain wildcard characters and
could not be found.