Powershell Script referenced by http://behind-monitor.blogspot.com/