Guest User

Untitled

a guest
Dec 12th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. # LogName can be any available event log
  2. # or it can be replaced with "-Path" and a file path
  3. # The resulting JSON can then be POSTed to a webserver of your choice
  4. Get-WinEvent -LogName "Security" -MaxEvents 1 | ConvertTo-Json
Add Comment
Please, Sign In to add comment