Powershell – Get last Reboots Windows Server Posted by Ray Fox 0 #example Get-WMIobject win32_ntlogevent -filter "(logfile='system') AND (EventCode='1074') and Message like '%restart%'" | select -first n