Skip to content

Instantly share code, notes, and snippets.

@tomarbuthnot
Created May 26, 2014 17:18
Show Gist options
  • Save tomarbuthnot/a14eb2116214f924974b to your computer and use it in GitHub Desktop.
Save tomarbuthnot/a14eb2116214f924974b to your computer and use it in GitHub Desktop.
Check for server restart windows event log
get-eventlog system | where-object {$_.eventid -eq 6006} | select -first 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment