Lazy show Windows volume information
If you need to retrieve verbose volume information, including the UNC/Win32 path, you can check out this repo https://github.com/ader1990/storage-info.
Statically compiled binaries for x86/x64 can be downloaded from the repo.
The x64 binary can be downloaded from https://github.com/ader1990/storage-info/blob/master/Binaries/storage-info.exe.
These binaries work on Windows and do not require any external dependency.
Tested on Windows 7 x86, Windows 10 x64 and Windows Server 2012 R2.
#ps1 # Example usage and output PS C:\Users\kami> .\storage-info.exe Provider #: 1 name: Microsoft Virtual Disk Service Dynamic Provider Pack #: 1 Provider #: 2 name: Microsoft Virtual Disk Service Basic Provider Pack #: 1 Volume #: 1 Volume Id: {1F81B02F-78A6-4712-9C33-A7DB298F7A0D} Type: SIMPLE Status: ONLINE Health: HEALTHY TransitionState: STABLE Size: 372736 Flags: 81c000 Recommended file system: UDF Win32 name: \\?\GLOBALROOT\Device\CdRom0 Pack #: 2 Volume #: 1 Volume Id: {40D3FD48-4BC2-4D55-B95B-7E16F16AD194} Type: SIMPLE Status: ONLINE Health: HEALTHY TransitionState: STABLE Size: 12989759488 Flags: 906e7 Recommended file system: NTFS Win32 name: \\?\GLOBALROOT\Device\HarddiskVolume1
That's all, folks!
Tweet