Hi guys ,
I am trying to convert the Freespace and Size to GB format
using the script command :
WMIC LOGICALDISK GET Name,Size,Freespace /format:value
FreeSpace=61612036096
Name=C:
Size=87780155392
The result I desire is something like :
FreeSpace=61GB
Name=C:
Size=87GB
Can anyone help to advice ?
Regards
CD
I am trying to convert the Freespace and Size to GB format
using the script command :
WMIC LOGICALDISK GET Name,Size,Freespace /format:value
FreeSpace=61612036096
Name=C:
Size=87780155392
The result I desire is something like :
FreeSpace=61GB
Name=C:
Size=87GB
Can anyone help to advice ?
Regards
CD