Disk Space Report – Excel

As Technet Gallery is retiring so moving the code to Git Hub. (click below github download link for this script)

Disk Space Report – Excel


Today I am sharing a script that We use to report the diskspace percentage available on servers.

Here are the columns that are reported

Note:- Excel should be installed on machine from which you will run it.

Server Name Drive Total Size (GB) Free Space (GB) Free Space (%)


Tech Wizard





5 thoughts on “Disk Space Report – Excel

  1. I downloaded the folder and saved the server names in the Clientlist.txt, when I am running the PS script it is just prompting out a empty excel sheet.

  2. The script runs but don’t get any output. Where does it keep the excel file? Does it need excel installed before hand or can we run it on a machine without excel & copy it to another machine for viewing?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s