Get the free space on remote computer disks

Get the free space on remote computer disks

With this simple script, you will be able to get the free space available on the C: drive on a list of remote computers. I’m using WMI to request the remote computers.
You can use two different ways for the remote computer list :

  • static text file with one hostname per line
  • dynamic way using the get-adcomputer cmdlet

Just comment/uncomment the line of your choice in the script below ($list variable)

The returned value is in GB.


My Powershell script categories

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Social Media Auto Publish Powered By :
%d bloggers like this: