lptstr / winfetch

🛠 A command-line system information utility written in PowerShell. Like Neofetch, but for Windows.
MIT License
1.35k stars 76 forks source link

Optimize info_disks #164

Closed Carterpersall closed 1 year ago

Carterpersall commented 1 year ago
rashil2000 commented 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).