Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PathIntrinsics.GetUnresolvedProviderPathFromPSPath Method (String)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

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)

public string GetUnresolvedProviderPathFromPSPath(
	string path
)

Parameters

path
Type: System.String

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

Return Value

Type: System.String

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

Exception Condition
ArgumentNullException

The path parameter is null.

NotSupportedException

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

InvalidOperationException

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

ProviderNotFoundException

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

DriveNotFoundException

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

ItemNotFoundException

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

ProviderInvocationException

The provider used to build the path throws an exception.

Return to top

Community Additions

Show: