One such simple thing is checking the disk space. If you are not physically present with a computer, it becomes really hard for a normal user to perform this simple task. So, in order to check how many partitions are present on that machine and by each partition, what is the total capacity of that partition is. Along with that, the free disk space and used disk space we would just need to run a simple script. So, without any further delay, let us just jump right in.
Check Disk Space on remote computers
First of all, this script would not work on every machine. It works only with Windows 11/10/7 and Windows Server. In my opinion, this should also work with Windows 8.1, but it has not been tested yet. If you try it on Windows 8 and Windows 8.1, please feel free to share your results in the comment box below. So, first of all, start by downloading this Powershell Script file from TechNet. You just need to save it on to your computer. Then, open that same file using Notepad and you will see the code that will look something like this- Now, you will have to enter the address of your remote computer in the space marked above inside the quotes – The Address Goes Here. Save the file. Right-click on the file and click on Run with Powershell. Click on Yes on the UAC or User Account Control Prompt. Now you will get your results on the Powershell terminal as in the format,
Run this same file as per your wish. You can read more about this here on TechNet.