uptime
FreeBSD-Linux-Windows
What are the differences between the uptime commands on different operating systems
# FreeBSD and Linux show uptime since last boot
# Windows shows all time uptime
uptime
# show last bootup time on Windows
(Get-CimInstance Win32_OperatingSystem -ComputerName $Computer).LastBootupTime