The IT Handbook

← All cheat sheets

Windows and Linux

Disk and storage

TaskWindowsLinux
Free space or
Folder sizesFile Explorer properties, or
Check a disk for errors, which schedules a check at the next restart if the drive is in use on an unmounted drive
Disk health, then read the HealthStatus column, from the smartmontools package

Older guides use wmic logicaldisk and wmic diskdrive. WMIC is no longer included in current Windows 11 builds, so use the PowerShell commands above.