Why did Windows shut down/reboot?

Get-EventLog -Logname System -Newest 1 -Source “USER32” | Format-List

You may also like...