Windows Dev Center

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.

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 Function GetResolvedProviderPathFromPSPath ( _
	path As String, _
	<OutAttribute> ByRef provider As ProviderInfo _
) As Collection(Of String)
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