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.
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Returns drive information for a specified drive name.
Returns a collection of all the drives that are available to the Windows PowerShell session.
Returns a collection of all the drives that are within the specified scope.
Returns a collection of all the drives for a specified provider.
Returns a specific drive from the specified scope.
Creates a new drive within the specified scope for the Windows PowerShell session.
|Remove(String, Boolean, String)|
Removes a drive from the specified scope of the Windows PowerShell runspace.
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.