• Yes, now I realize the MarkusB query is good.

    Do we know if perfmon would give the same results if I looked for processor objects and counters?

    I am not familiar with how he gets the information:

    record.value('(./Record/SchedulerMonitorEvent/SystemHealth/SystemIdle)[1]', 'int')

    What is this schedulermonitorevent?

    I'm looking for overall cpu utilization of the machine, so with his query, I would modify it to save 100 - SystemIdle.