Video Screencast Help

Script to know free disk space

Created: 15 Mar 2013 • Updated: 15 Mar 2013 | 3 comments
AjinBabu's picture
+3 3 Votes
Login to vote

Hi All

Good Day.

Usually we deploy clients via Push deployment wizard where we need to know free disk space of the list of computers.

Here i am attaching the script to query disk space of List of computers

How it works

The script uses PSINFO from a free tool which uses port 445 to communicate to the client, which is used to communicate between the Server or client.

(Before starting the script download and keep the psinfo.exe to system32 folder)


  1. Copy  the  Computer list to Hostname.txt file
  2. Double click on Disk_Free_Space.CMD
  3. It will work one by one with the clients and append the result to Free_Disk.csv
  4. If port 445 is not open it will only list the Hostname

Please find the attached Zip file for scripts

This solution works for my environment

Best Regards


Comments 3 CommentsJump to latest comment

John Santana's picture

thanks for this one as well.

Kind regards,

John Santana
IT Professional


The author cannot accept liability for any loss or damage sustained as a result of the content of this post.

Login to vote
Ambesh_444's picture


Nice script dude .and thenks a lot for sharing this type script.

Thank& Regards,


"Your satisfaction is very important to us. If you find above information helpful or it has resolved your issue. Please don't forget to mark the thread as   solved."

Login to vote
kishorilalWipro's picture

Nice one, While working on symantec products sometime we need such scripts and tools so share if you have all.

Login to vote