Posts

Domain Disk Check

Image
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...

Scripts on the PowerShell Gallery

I have started posting my scripts on the PowerShell Gallery here:  https://www.powershellgallery.com/profiles/Kcmjr/ I'll still try to post them here so I can ramble on about what they do but I'm using the Gallery as the primary location now.

Track time sync across all domain controllers

I hate always harping on Windows time but since it sucks I can't help myself. I wrote this script to watch the time on all our domain controllers, compare it, and alert me if it's off. Be aware that this version doesn't have a window of larger than 1 minute.  I plan to fix that later. Same as always, create the xml config file in the same folder.  See the end of the script for parameters for the file.  Use at your own risk.  Feel free to do what you want with the script (It would be great if you leave my name associated with this and any other scripts I write, but thats up to you.) NOTE: Please use this as reference ONLY for now.  Until I can add a trigger window all this will do is spam you all week! Param (       [ bool ] $Console = $false       ) <#==============================================================================           File N...