team

How to control the running time of Windows 10

The operating time or στα Windows 10 είναι η χρονική διάρκεια που το λειτουργικό σας εργάζεται από την τελευταία εκ of.

Unlike Linux / Unix, Windows 10 does not have a native uptime command. In Windows 10, you can see their uptime in several ways: from Task Manager, command line or PowerShell. Let's consider all these methods.

Check Windows 10 Uptime using the Task Manager
You can check the current value of the Windows 10 runtime from the GUI. To do this, use it Task Manager.

1. Press Ctrl + Shift + Esc at the same time to open the Task Manager.
2. Click the "Performance" tab.
The current uptime value is displayed below and slightly to its left , where it says “Uptime” (in this example, the computer has been running continuously for 2 days, 20 hours and 9 minutes).

 

Display your computer's Uptime using CMD
To view the running time of a computer from the command line, you can use one of the following methods.
Open a window of it command line as an administrator and execute the command:

systeminfo | FIND “System Boot Time”

The command should return the following answer:
system Boot Time: date, time

Also, you can see the uptime of Windows 10 using the built-in statistics of any system service, running without since its inception. These are usually server or workstation services. For example:

net statistics workstation | find “Statistics since”

Another way to get Windows 10 uptime is via WMI. Use the standard command:

wmic path Win32_OperatingSystem get LastBootUpTime

 

How to view the running time of Windows 10 using PowerShell
Now let's look at some ways to get rid of 10 windows uptime via PowerShell.

First of all you can use WMI again:

Get-CimInstance Win32_OperatingSystem | -Object LastBootUpTime

Or you can get the latest OS start date in a more convenient way by:

$ wmi = Get-WmiObject Win32_OperatingSystem $ wmi.ConvertToDateTime ($ wmi.LastBootUpTime)

If you like precision, then another way is:

(get-date) - (gcim Win32_OperatingSystem) .LastBootUpTime

In us the computer is not shut down for:
Days: 11
Hours: 14
Minutes: 465
Seconds: 17
Milliseconds: 901
Ticks (Nano-seconds): 10035779011244
TotalDays (11,6154849667176)
TotalHours (Total Hours): 278,771639201222
TotalMinutes (X minutes): 16726,2983520733
TotalSeconds: 1003577,9011244
TotalMilliSeconds (X milliseconds): 1003577901,1244

Finally, you can use the program of events, where event 6005 represents your computer starting up. You can see this from the Windows Event Viewer itself, but you can use the following Powershell command:

Get-WinEvent -ProviderName EventLog | Where-Object {$ _. Id -eq 6005} | Select-Object -First 1 TimeCreated

iGuRu.gr The Best Technology Site in Greecefgns

Written by Dimitris

Dimitris hates on Mondays .....

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).