Reputation: 432
I like to get the last entry from SystemEventLog with EventCode 6006. With this Query:
SELECT * FROM Win32_NTLogEvent WHERE Logfile='System' AND EventCode='6006'
I get all the 6006 Events in the SystemEventLog. I've already tried LIMIT 1, LAST.
Is there a way to get only the last SystemEventLog entry with code 6006?
Thanks
Upvotes: 0
Views: 49