How to Check if OS windows has restarted in the last month January 27, 2020 fabiolog, months, OS, Powershell, reboot, windowsLeave a comment Get-EventLog -LogName System -After $(Get-Date).AddMonths(-1) | Where { 6009,6005,6006 -contains $_.EventID} How to Check if OS windows has restarted in the last month