Windows 服务的上次重启/启动时间

Gur*_*epS 27 windows-server-2008-r2

是否可以在 Windows 中找出 Windows 服务的最后一次重启时间?

Sim*_*lin 27

基于 Christian 的回答...使用 PowerShell:

(Get-EventLog -LogName "System" -Source "Service Control Manager" -EntryType "Information" -Message "*Computer Browser service*running*" -Newest 1).TimeGenerated;
Run Code Online (Sandbox Code Playgroud)


Chr*_*ian 5

查看事件日志:每次服务停止或启动时,服务控制管理器都会记录日志。

  • 这是事件查看器 -> Windows 日志 -> 系统,其中 Source 是服务控制管理器。 (4认同)