PSCmdlet.GetResolvedProviderPathFromPSPath Method

Returns the resolved provider path from a specified Windows PowerShell path.

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

Dim instance As PSCmdlet
Dim path As String
Dim provider As ProviderInfo
Dim returnValue As Collection(Of String)

returnValue = instance.GetResolvedProviderPathFromPSPath(path, provider)

public Collection<string> GetResolvedProviderPathFromPSPath (
	string path,
	out ProviderInfo provider
public Collection<String> GetResolvedProviderPathFromPSPath (
	String path, 
	/** @attribute OutAttribute() */ /** @ref */ ProviderInfo provider



The Windows PowerShell path of the provider.


A ProviderInfo object that contains information about the provider.

Return Value

A collection of resolved paths.

To get an unresolved path from a Windows PowerShell path, see the GetUnresolvedProviderPathFromPSPath method.

This method provides a shortcut to information that is also available through the SessionState class.

For more information about cmdlets, see Windows PowerShell Cmdlets.

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

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
© 2014 Microsoft