would like to know the logical disk name that have the MAX FreeSpace
for example I have drive C: and drive D: and I want to know where i have the most freespace
I run:
get-wmiobject win32_logicaldisk |measure-object -property freespace -max
I get:
Count : 3
Average :
Sum :
Maximum : 3883384832
Minimum :
Property : freespace
BUT - How can I know if it refers to drive C: ? or D: ?
TIA
for example I have drive C: and drive D: and I want to know where i have the most freespace
I run:
get-wmiobject win32_logicaldisk |measure-object -property freespace -max
I get:
Count : 3
Average :
Sum :
Maximum : 3883384832
Minimum :
Property : freespace
BUT - How can I know if it refers to drive C: ? or D: ?
TIA