Gets the drive information (DriveInfo) for the specified Ps Drive.
Snap-In: Microsoft.PowerShell.Management
Syntax:
Get-PSDrive [
[-Name] <String[]>] [-Scope <String>] [-PSProvider <String[]>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Description:
The get-drive Cmdlet gets the drive information for the specified drives. If no drive is specified, it gets the information for all currently visible drives. Drive information includes: Credential, CurrentLocation, Description, Name, Provider, Root, and DriveInfo.