Sorry, but there are no more tags available to filter with.
  • Looking to find a count of critical event logs on a windows server via custom counters

    Here's an example of my working wmi query:

    @(gwmi -query "select * from win32_ntlogevent where eventtype=1 and timegenerated > '12/1/2017'").count

     

    It appears that I can only use the query section, but that doesn't appear to have…