CmdletProvider.PSDriveInfo Property

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)

Dim value As PSDriveInfo

value = Me.PSDriveInfo

protected PSDriveInfo PSDriveInfo { get; }
/** @property */
protected PSDriveInfo get_PSDriveInfo ()

protected function get PSDriveInfo () : PSDriveInfo

Property Value

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.

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