We earn commission when you buy through affiliate links.
This does not influence our reviews or recommendations.Learn more.
Lets start by looking at a couple of different methods to identify the Windows last boot time.
It obtains a classsCIM(Common Information Model ) instances from a CIM server.
The second command chooses theCSNameandlastBootupTimeproperties from CIM and displays the windows machines last boot time as a result.
First, initiate the PowerShell and run it as an administrator.
Just punch in the following command in the PowerShell to view the last boot time.
Instead of the last boot time, it just shows the uptime of a system since the last boot.
Here,gcimstands for Get CimInstance.
This command provides the info of all the Get-CimInstance methods and their properties.
Youll see an output that appears awkward at first, but its not difficult to read and understand.
you’re able to easily figure out the last boot time of your windows machine.
The information below can be used to break down theLastBootUpTime 20220220132640.500000+330.
Thelastbootuptimewill be converted into big integer format, which will be finally displayed in a readable format.
Just bang out the following command in the PowerShell terminal to see the last boot time.
Here, theSelect-Stringcmdlet searches input strings and files for text patterns using regular expression matching.
The commandsysteminfodisplays generic information about the Windows operating system and its configuration.
It displays the last time Windows was booted.
Open a command prompt and jot down the following command.
To see the services running in the windows machine, use the below command.
This command just displays the available running services in the system.
We can get statistics for either the server or workstation using the context NET STATISTICS with the following command.
Here, I provided the workstation in command to see statistics.
And if you want to find the Windows Server uptime, the command will become thenet statistics server.
Task Manager
This is the simplest way to check your unit uptime.
Instead of showing the last boot time, it shows the uptime of the system since the last boot.
This means the system was rebooted before 8 days, 8 hours, and 29 minutes.
Every command has its own set of benefits.
it’s possible for you to choose the way that best matches your needs.
You may also be interested in learning about the toptools to monitor windows servers.