far182
asked on
Need a VBScript to check free disk space of a UNC path and return the results in GB
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:
myVBScheckDiskSpace.vbs \\server1\share
Here is an example result I am looking for:
17
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.
Thank You
For example this is how I would like to execute the vbscript:
myVBScheckDiskSpace.vbs \\server1\share
Here is an example result I am looking for:
17
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.
Thank You
http://blogs.technet.com/b/heyscriptingguy/archive/2004/11/18/can-i-use-a-script-to-determine-the-size-of-a-folder-on-a-remote-computer.aspx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
While this didn't provide everything I was looking for, you gave me the missing things I needed to get this done. Thank you.