Announcement

Collapse
No announcement yet.

Stexport.exe

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Stexport.exe

    How do you query event logs for current date only?

  • #2
    Re: Stexport.exe

    In Exporter Pro you'll use the WMI->Event Log export, and in the WMI Where Clause add in:

    timewritten>="07/26/2005"

    Comment


    • #3
      Re: Stexport.exe

      I want to automate it as a daily task though, so can I do something for the current date?

      Comment


      • #4
        Re: Stexport.exe

        Unfortunately I don't believe there would be a way to do that. You are using a WMI Where Clause for this, so you'd have to see if WMI has any variables to do this.

        Comment


        • #5
          Re: Stexport.exe

          Here is a good link to the WHERE clause syntax:
          http://msdn.microsoft.com/library/de...ere_clause.asp

          However, I've followed all of the links and don't see one for the "current time".

          Perhaps if I get time I can see about creating some of our own symbols that could be inserted into the WHERE clause, which Hyena or Exporter Pro could simply scan for and replace with the right value(s).
          Kevin Stanush
          SystemTools Software Inc.

          Comment

          Working...
          X