So with the introduction of Server 2012, we now have the option of remote Group Policy updates! This can be accomplished using the Group Policy Management Console – Right click on an OU and choose “Group Policy Update…”. However, this method creates a scheduled task for the update that is set to run at a random time within 10 minutes. We need something a bit more immediate and fine grained!
We recently encountered a situation where our monitoring server failed to report a critical event for a production server. We found that the issue was caused by the WMI service being in a hung state. Had the service been in a failed state, the monitor would have alerted us to that fact and we would have acted accordingly. This created a need to monitor the WMI service for these rare cases. The below script was my solution to this. I’m sure there are many areas of improvement to be made, for right now it works!