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 ref class DriveManagementIntrinsics sealed
public sealed class DriveManagementIntrinsics
type DriveManagementIntrinsics = class
Public NotInheritable 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 PSDrive in session state.

Remove(String, Boolean, String)

Removes the specified drive.

Applies to