html tool

2021年5月25日星期二

查看windows开机时间方式

 

https://windows10.pro/operating-system-last-bootup-time/

方法一:使用Windows PowerShell命令查看

以管理员身份运行Windows PowerShell,在打开的“管理员: Windows PowerShell”窗口中输入并回车运行以下命令:

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

PS C:\Users\admin> (get-date) - (gcim Win32_OperatingSystem).LastBootUpTime



Days              : 0

Hours             : 17

Minutes           : 0

Seconds           : 43

Milliseconds      : 523

Ticks             : 612435236860

TotalDays         : 0.708837079699074

TotalHours        : 17.0120899127778

TotalMinutes      : 1020.72539476667

TotalSeconds      : 61243.523686

TotalMilliseconds : 61243523.686

在返回的查询结果中即详细地显示了Windows10本次开机后已经运行的时间。令人惊讶的是,这个时间可以精确到milliseconds(毫秒)、 ticks (纳秒),而对普通用户来说,其实精确到秒就足够了。

或者:

我们还可以按下键盘的“微软窗口键+R"打开系统的运行窗口,然后在运行中输入命令”CMD"打开命令提示符界面。 在命令提示符界面中直接输入系统信息命令“systeminfo",然后回车。 看到的系统信息界面中,大家仔细查找系统启动时间,这里可以看到开机时间

没有评论:

发表评论