UpdateSummary 數據表的查詢
如需在 Azure 入口網站 中使用這些查詢的詳細資訊,請參閱Log Analytics教學課程。 如需 REST API,請參閱 查詢。
跨計算機可用的更新摘要
每部機器在各種類別下可用的更新計數。
// To create an alert for this query, click '+ New alert rule'
UpdateSummary
| where TimeGenerated>ago(14h)
| summarize by Computer, CriticalUpdatesMissing, SecurityUpdatesMissing, OtherUpdatesMissing, TotalUpdatesMissing, ResourceId
遺漏更新特定產品
WSUS 計算機成員資格。
// To create an alert for this query, click '+ New alert rule'
UpdateSummary
| summarize AggregatedValue = count() by WSUSServer, Computer, _ResourceId
自動更新組態
自動更新組態。
// To create an alert for this query, click '+ New alert rule'
UpdateSummary
| summarize AggregatedValue = count() by WindowsUpdateSetting, Computer, _ResourceId
自動更新設定已停用
停用自動更新的電腦。
// To create an alert for this query, click '+ New alert rule'
UpdateSummary
| where WindowsUpdateSetting == "Manual"
| sort by TimeGenerated desc