Query free disk space details of remote computers using PowerShell
By Sitaram Pamarthi | 3 Comments | PermalinkThe PowerShell script introduced in this post is for getting disk space details of multiple remote computers. It also retrieves the space details of mount points.
Disk space monitoring is an important system administration task because disk space shortage can impact system stability and application functionality.
I wrote a PowerShell script that allows you to query the disk space details of any drive connected to a remote Windows computer. Moreover, the script can get the disk space details of multiple computers in a single shot. You can also use it with other cmdlets, such as Get-QADComputer and Get-ADComputer, and pass the output of these commands to the script.
Using the parameters ValueFromPipelineByPropertyName and ValueFromPipeline, the script reads the inputs from the pipeline (output of the previous command). You can learn more details about these parameters by executing the command below in a PowerShell console.




Subscribe via e-mail: