Using PowerShell to view system uptime

Hi Today I just found a very handy command that will display the computer/ last reboot in PowerShell; JustĀ  copy and paste into your console, as you can Get-WmiObject -Class Win32_OperatingSystem -ComputerName localhost | Select-Object -Property @{n="Last Boot Time";e={[Management.ManagementDateTimeConverter]::ToDateTime($_.LastBootUpTime)}} If you get tired you always can use: systeminfo | find "Time"