How To Know Uptime In Windows
Computer Uptime refers to how long a system has been up and running without any shutdown or restart. The computer uptime helps us to discover the last reboot of whatever system. This tin can be helpful in many means similar troubleshooting or scripting etc. In this tutorial, we will discuss three means to check the uptime of any Windows machine or server.
1. How to Cheque Windows Uptime with Task Managing director
A job manager is a computer program used for checking the process and services running and their details. Y'all can also detect details nigh the resource utilization like Memory and CPU uses at runtime. This is also a quick and preferred way for Windows users to find computer uptime.
- Log in to your Windows system.
- Right click on task bar and click on Task Managing director to launch.
- Click "More details", If the task manager opened in compact view.
- Go to Performance tab
- In CPU section, yous will notice computer uptime similar beneath screenshot
As per the above screenshot, this calculator is upward from 33 Days and 33 minutes.
ii. Check Computer Uptime with Command Prompt
You tin also discover the Windows uptime with the command-line options. Here we will discuss the two commands that provide the uptime details.
A. Using WMIC Command:
WMIC (Windows Direction Interface Command), is a simple control-line utility that provides information about the running system. With the help of this command, nosotros can discover the last boot-upwards time.
wmic path Win32_OperatingSystem go LastBootUpTime
B. Using systeminfo Command:
The systeminfo command displays a list of details about your operating arrangement, figurer software, and hardware components. You can also bank check for the value "System Boot Time" to get the figurer uptime.
systeminfo | find "System Boot Time"
three. How to Bank check Windows Uptime with PowerShell
Launch a Powershell window and type the below command to find the last reboot time of the current organization.
Get-CimInstance -ClassName Win32_OperatingSystem | Select LastBootUpTime
You can besides view the computer uptime in the number of days, hours, minutes formats. Execute the below command and check the results.
(get-date) - (gcim Win32_OperatingSystem).LastBootUpTime
Y'all can also shop the output of the to a higher place commands to a variable. Which can be helpful for scripting purposes. The beneath command will store all values in the "uptime" variable.
$uptime = (get-date) - (gcim Win32_OperatingSystem).LastBootUpTime
Adjacent, excerpt the specific values merely and impress them on the screen.
Write-Output "The Windows Uptime is >> $($uptime.days) Days, $($uptime.Hours) Hours and $($uptime.Minutes) Minutes"
Output:
The Windows Uptime is >> 35 Days, 12 Hours and 46 Minutes
Conclusion
In this tutorial, you have learned various methods for checking Windows uptime. This guide covers the 3 methods like Task director, control prompt, and PowerShell to get estimator uptime.
Source: https://tecadmin.net/check-computer-uptime-in-windows/
Posted by: thomaslenct1938.blogspot.com

0 Response to "How To Know Uptime In Windows"
Post a Comment