DriveManagementIntrinsics Class

Definition

Exposes the Cmdlet Family Provider's drives to the Cmdlet base class. The methods of this class get and set provider data in session state.

public sealed class DriveManagementIntrinsics
Inheritance
DriveManagementIntrinsics

Properties

Current

Gets the drive information for the current working drive.

Methods

Get(String)

Gets the drive information for the drive specified by name.

GetAll()

Retrieves all the drives in the specified scope

GetAllAtScope(String)

Retrieves all the drives in the specified scope

GetAllForProvider(String)

Gets all the drives for the specified provider

GetAtScope(String, String)

Gets the drive information for the drive specified by name.

New(PSDriveInfo, String)

Creates a new MSH drive in session state

Remove(String, Boolean, String)

Removes the specified drive.