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.

CmdletProvider.PSDriveInfo Property


Updated: April 27, 2016

Applies To: Windows PowerShell

Gets the drive that is being used for the current operation.

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

protected PSDriveInfo PSDriveInfo { get; }

Property Value

Type: System.Management.Automation.PSDriveInfo

Returns a PSDriveInfo object that describes the drive used for the current operation. Note that a drive can be any valid root or point on a path.

For more information about providers, see Windows PowerShell Providers [ps].

Return to top

Community Additions