Folder Contents RRS feed

  • Question

  • I want to run a script on the contents of a directory during a notificatin alert.

    Any ideas on how the script should look.  Assume the file is  c:\temp



    Saturday, November 27, 2010 12:32 PM


  • These samples I put together may help you to get started:

    • How to create a Script-based 2-State Monitor <—This pdf illustrates how to
    • Script: File Version Check Script for 2-State Monitor
    • Script: File Count Monitoring for OpsMgr 2007
    • Monitor File Age for Multiple Files (for 2-state monitor) 

    All these and several more can be found at http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexID/19269/Default.aspx

    Pete Zerger, MVP-OpsMgr and SCE | http://www.systemcentercentral.com
    • Proposed as answer by Vivian Xing Tuesday, November 30, 2010 3:17 AM
    • Marked as answer by Vivian Xing Thursday, December 9, 2010 9:49 AM
    Monday, November 29, 2010 1:44 PM