I am trying to monitor a backup file on a particular box that backs up every hour. The tricky part is that I the file name changes so I would need to use a wildcard. I need to be able to alert that the Last Modified date is within the last hour and that the file is larger than 500KB. Does anyone have a simple VBscript or Powershell script that would put the file size and existence into correct APM format to alert on?
Thank you!