DriveManagementIntrinsics.Current Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the drive information for the current working drive.
public:
property System::Management::Automation::PSDriveInfo ^ Current { System::Management::Automation::PSDriveInfo ^ get(); };
public System.Management.Automation.PSDriveInfo Current { get; }
member this.Current : System.Management.Automation.PSDriveInfo
Public ReadOnly Property Current As PSDriveInfo
Property Value
Remarks
This property is readonly. To set the current drive use the SetLocation method.