When did a server boot or restart

If you want to find when a server last rebooted, or a short history of reboots to establish a pattern or cause of a problem you can use the following powershell command. Get-EventLog -LogName System -After $(Get-Date).AddDays(-1) ` | Where-Object { $_.EventId -in (6008,6009,6005,6006) } This searches the System…