Monday, August 20, 2018

Domain Disk Check

As mentioned previously I am now publishing my scripts on the MS PowerShell Gallery site.   I'll put descriptions here for the benefit of anyone who finds them useful but the scripts are at the Gallery.

This script uses WMI to poll the current domain and extract disk statistics.

Output is gathered in HTML format and emailed to a list of recipients.  Output can be all systems (full) or only systems that are below preset threshold (brief).   Also you can select just servers, just PCs, or a third group which is currently coded for security surveillance servers.

An external XML configuration file is used to allow customization of the run time parameters. 

The output is color coded to allow for easy viewing.  Thresholds are adjustable via the XML file.

The script is called "DomainDiskReport.ps1" and is best found at the library main page at https://www.powershellgallery.com/profiles/Kcmjr/

Here is an example of the script email results using the "brief" option.  The "brief" option will only list systems that trigger the thresholds: