0 Replies Latest reply on Nov 20, 2017 6:39 AM by zroy21

    File size and existence wildcard

    zroy21

      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!