in reply to get disk usage details like free, used, available for windows drives with sizes in TB
using Text::CSV. If you don't want to exclude optical drives, mounted shares, etc, you can leave off the where DriveType="3" part.`wmic logicaldisk where DriveType="3" get /format:csv`
|
|---|