Created
March 14, 2023 17:48
-
-
Save rosshiga/a15233a6bcc9d30268a1a192714b52c4 to your computer and use it in GitHub Desktop.
Powershell Event Viewer Restart Events
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-EventLog System -Newest 10000 | ` | |
Where EventId -in 41,1074,1076,6005,6006,6008,6009,6013,1001,1003 | ` | |
Format-Table TimeGenerated,EventId,UserName,Message -AutoSize -wrap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment