Get Last Boot Time of Your Computer

Here is a quick PowerShell one liner that will get the last boot time of your computer from days to ticks to milliseconds!

Try it out:

(Get-Date) - (Get-CimInstance Win32_operatingSystem).lastbootuptime

Last Boot Time