Hello. I need a VBscript (VBS) that will report back the free disk space (in gigabytes) of a UNC path I feed it. I would execute the VBscript with a single argument and the argument would be the UNC path I would want to check free space. The script would need to write the result, simply just the number, to the shell.
For example this is how I would like to execute the vbscript:
Here is an example result I am looking for:
I would be executing this VBScript at the command prompt. I need this script in a quick hurry so I am assigning the maximum points. I appreciate they help.