Sunday, March 3, 2013

Dump the schema for Windows Security Events



Here's a useful Powershell one-liner for getting at the Windows Security Event Log schema:
(get-winevent -listprovider microsoft-windows-security-auditing).events

You may want to save the output to a varialbe:
$events = (get-winevent -listprovider microsoft-windows-security-auditing).events

Here's an example of the output:


No comments:

Post a Comment

A Walk in the Park

In August of 2024 I stopped in my local book shop (shoutout to The Raven Bookstore ) as I often do to browse the shelves and see if there wa...