Export (0) Print
Expand All

PathIntrinsics.GetUnresolvedProviderPathFromPSPath Method (String)

Obtains an unresolved provider-internal path from a specified drive-qualified or provider-qualified absolute or relative path.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As PathIntrinsics
Dim path As String
Dim returnValue As String

returnValue = instance.GetUnresolvedProviderPathFromPSPath(path)

public string GetUnresolvedProviderPathFromPSPath (
	string path
public String GetUnresolvedProviderPathFromPSPath (
	String path
public function GetUnresolvedProviderPathFromPSPath (
	path : String
) : String



The provider-qualified or drive-qualified absolute or relative path to be resolved.

Return Value

An unresolved provider-internal path (that might contain wildcards).

Exception typeCondition

The path parameter is null.


The specified path is for a provider that is not a navigation or container provider.


The specified path is for a provider whose home location is not set, and the path starts with a tilde character (~).


The specified path refers to a provider that cannot be found.


The specified path is a drive-qualified path for a drive that could not be found.


The specified path does not contain wildcards and cannot be found.


The provider used to build the path throws an exception.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

© 2014 Microsoft