Windows get last boot time

Last updated:

Get-CimInstance -ClassName win32_operatingsystem | select csname, lastbootuptime

references:

PowerTip: Get the Last Boot Time with PowerShell - Scripting Blog (microsoft.com)