Volume list from script
Posted on 2005-04-25
I would like to create a script for showing all volumes (especially free space on them) from command line. Result should be in text for similar to what we seen in Computer Management mmc.
In W2k3 this is not problem using Win32_Volume WMI class, but neither Win32_Volume, nor Win32_DefragAnalysis (which could be used as well) is able to use in Win2000 (there are simply not implemented).
I found a way using Win32_DiskPartition, but there is no infromation about free space, and I did not find any way to find it.
Maybe WMI is not a way on Win2000 ... ??!!
Do you have any idea how to handle this? (Volume name, free space, ev. mount point).