Drive Space Information
![Image](https://1.bp.blogspot.com/-F4yoCBqV_wc/XWp71t7HA5I/AAAAAAAAqw8/tChkMTsGHo0fsbnKkTHL3mEXDb-d-rYKQCLcBGAs/s1600/hard-drive-disk-icon.png)
One of the scripts which I need to use on a daily basis. This is a basic function of the script to get information on drive space. We can take the result and get a report emailed as a table put into a web page, or simply export it as a CSV file and manipulate as per your need. Usually, I export it as CSV and do some manual manipulation to filter the data which I require. Planning to do some automation on it. I will update the post as I do it... Enjoy!!! <# . SYNOPSIS PowerShell script to report on drive space available on remote windows systems. . DESCRIPTION Get the Availbale Max, availabe drive space information remotely and report it to admins. . PARAMETER ComputerName Accepts a list of computer names or IP addresses . EXAMPLE Get-DriveSpace -ComputerName Server1,server2 . LINK https://posh-scripting.blogspot.in/2017/01/drive-space-information.html #> function Get-DriveSpace { [ CmdletBinding ()] Param (