Closed Carterpersall closed 1 year ago
Very cool!
This is basically the same implementation which was removed in #94, the only difference being it uses [System.IO.DriveInfo]::GetDrives()
(which is faster) instead of Get-CimInstance Win32_LogicalDisk -Property Size,FreeSpace
(WMI calls are always a bottleneck).
Add-Type
implementation with one that usesSystem.IO.DriveInfo