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)
'Usage
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, 
	[OutAttribute] ProviderInfo^% provider
)
public Collection<String> GetResolvedProviderPathFromPSPath (
	String path, 
	/** @attribute OutAttribute() */ /** @ref */ ProviderInfo provider
)

Parameters

path

The Windows PowerShell path of the provider.

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.
Show:
© 2014 Microsoft. All rights reserved.