Version 1

    This script will check the number of entries with a specific Application Source within a specific Event Log (application, system, security) with a specific Event Type (Error, Warning, Information) which occured within the last hour. 

    For example, you want to know if there are any Error entries in the Application log with a are of source MSSQLSERVER, however, you only want to be notified if there were more than 10 in the last hour.