Script: Registry Value Check for use in a 2-state monitor in OpsMgr 2007

This script facilitates checking the value of a user-defined registry key to update a 2-state monitor in Operations Manager 2007. Error checking ensures state is updated in the event the registry key is not found.