Windows desktop applications
Collapse the table of content
Expand the table of content
Information
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.

DriveManagementIntrinsics Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Provides access to information for monitoring and managing the Windows PowerShell drives that are used by providers.

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

System.Object
  System.Management.Automation.DriveManagementIntrinsics

public sealed class DriveManagementIntrinsics

NameDescription
System_CAPS_pubpropertyCurrent

Gets information about the current working drive.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGet(String)

Returns drive information for a specified drive name.

System_CAPS_pubmethodGetAll()

Returns a collection of all the drives that are available to the Windows PowerShell session.

System_CAPS_pubmethodGetAllAtScope(String)

Returns a collection of all the drives that are within the specified scope.

System_CAPS_pubmethodGetAllForProvider(String)

Returns a collection of all the drives for a specified provider.

System_CAPS_pubmethodGetAtScope(String, String)

Returns a specific drive from the specified scope.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodNew(PSDriveInfo, String)

Creates a new drive within the specified scope for the Windows PowerShell session.

System_CAPS_pubmethodRemove(String, Boolean, String)

Removes a drive from the specified scope of the Windows PowerShell runspace.

System_CAPS_pubmethodToString()

(Inherited from Object.)

There is no way to directly access this class because there is no public constructor. The properties of this class can be accessed only through the following application programming interfaces (APIs):

This data is part of the session-state information that describes the Windows PowerShell session. For a discussion of Windows PowerShell sessions and other session-state data, see Windows PowerShell Session State.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft