General Find Last System Boot Date and Time of Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:

Power_banner.webp

This tutorial will show you how to find the last system boot date and time in Windows 10 and Windows 11.

This can be handy if you need to know the last boot up date and time of your system.



Here's How:

1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.

2 Copy and paste the appropriate command below into Windows Terminal, and press Enter. (see screenshot below)

Windows PowerShell
(Get-CimInstance -ClassName Win32_OperatingSystem).LastBootUpTime

OR​

Command Prompt
powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).LastBootUpTime"

LastBootUpTime.webp



That's it,
Shawn Brink


 
Last edited:
Awesome, thanks!

If you want to trim it down to just the output on one line, you could do something like this (among probably other ways...)

Powershell:
((Get-CimInstance -ClassName Win32_OperatingSystem).LastBootUpTime | Out-String).Trim()
 

My Computer

System One

  • OS
    Windows
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
You can change the date format, if you prefer:
Code:
(Get-CimInstance -ClassName Win32_OperatingSystem).LastBootUpTime.ToString('ddd MM/dd/yyyy hh:mm:ss tt')
Wed 11/19/2025 05:40:55 PM
 

My Computer

System One

  • OS
    Windows 7

Latest Support Threads

Back
Top Bottom