Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

© 2015 Microsoft