Get Windows boot time – Powershell

To get the last Windows boot time using PowerShell V3 or later.

Get-CimInstance Win32_OperatingSystem | select lastbootuptime,csname

This will show you the lastbootuptime and computer name