You can use this PowerShell script to collect logical disk space information from remote computers.
Input – This script accepts computer names from an input file called Computers.csv.
This script has two outputs.
Output #1 – As shown in the following screenshot, you will see the status on the screen.
Output #2 – All information will be added to the output file – ComputerInfo.csv
Download: You can download this script from the following two locations: