共用方式為


ConfigurationData 數據表的查詢

最近停止的自動服務

顯示最近設定為 [自動] 但回報為 [停止] 的服務。

ConfigurationData
| where ConfigDataType == "WindowsServices" and SvcStartupType == "Auto"
| where SvcState == "Stopped"
| summarize arg_max(TimeGenerated, *) by SoftwareName, Computer