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.

SessionState.Drive Property


Updated: April 27, 2016

Applies To: Windows PowerShell

Gets the drive information for the providers that are available to the module or runspace that is using this session state.

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

public DriveManagementIntrinsics Drive { get; }

Property Value

Type: System.Management.Automation.DriveManagementIntrinsics

A DriveManagementIntrinsics object that provides drive information, such as the current drive, a collection of all the drives, and the methods for adding and removing the drives.

Return to top

Community Additions