获取window开机时间及唤醒时间
Uncategorized
|
|
11 views
|
2024-06-28 08:53:31
老式工具
(Get-CimInstance -ClassName Win32_OperatingSystem).LastBootUpTime
# 获取最近的 "Microsoft-Windows-Power-Troubleshooter" 事件
Get-WinEvent -LogName System | Where-Object { $_.Id -eq 1 } | Select-Object -First 1
No comments yet. Be the first to comment!