Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetUnresolvedProviderPathFromPSPath Method (String, ProviderInfo, PSDriveInfo)

PathIntrinsics.GetUnresolvedProviderPathFromPSPath Method (String, ProviderInfo, PSDriveInfo)

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)

'Usage
Dim instance As PathIntrinsics
Dim path As String
Dim provider As ProviderInfo
Dim drive As PSDriveInfo
Dim returnValue As String

returnValue = instance.GetUnresolvedProviderPathFromPSPath(path, provider, drive)

public string GetUnresolvedProviderPathFromPSPath (
	string path,
	out ProviderInfo provider,
	out PSDriveInfo drive
)
public String GetUnresolvedProviderPathFromPSPath (
	String path, 
	/** @attribute OutAttribute() */ /** @ref */ ProviderInfo provider, 
	/** @attribute OutAttribute() */ /** @ref */ PSDriveInfo drive
)

Parameters

path

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

provider

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

drive

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

Return Value

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

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


Show:
© 2015 Microsoft