PathIntrinsics.GetUnresolvedProviderPathFromPSPath Method (String, ProviderInfo, PSDriveInfo)

 

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, in addition to information about the drive or provider associated with the path.

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

public string GetUnresolvedProviderPathFromPSPath(
	string path,
	out ProviderInfo provider,
	out PSDriveInfo drive
)

Parameters

path
Type: System.String

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

provider
Type: System.Management.Automation.ProviderInfo

A ProviderInfo object that describes the provider associated with the path.

drive
Type: System.Management.Automation.PSDriveInfo

A PSDriveInfo object that describes the drive associated with the path.

Return Value

Type: System.String

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

Return to top

Community Additions

ADD
Show: