Skip to content

Commit 8c5febe

Browse files
Merge pull request #230840 from Heidilohr/work-maintenance-parameter
Removing parameter and associated section.
2 parents e88b9e4 + fc2415f commit 8c5febe

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

articles/virtual-desktop/agent-updates-diagnostics.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Set up diagnostics for monitoring agent updates
33
description: How to set up diagnostic reports to monitor agent updates.
44
author: Sefriend
55
ms.topic: how-to
6-
ms.date: 01/31/2023
6+
ms.date: 03/20/2023
77
ms.author: sefriend
88
manager: rkiran
99
---
@@ -65,26 +65,7 @@ To see when agent updates are happening or to make sure that the Scheduled Agent
6565
| project TimeGenerated, AgentVersion, SessionHostName, LastUpgradeTimeStamp, UpgradeState, UpgradeErrorMsg
6666
| summarize arg_min(TimeGenerated, *) by AgentVersion
6767
| sort by TimeGenerated asc
68-
```
69-
70-
## Use diagnostics to check for unsuccessful agent updates
71-
72-
To check if an agent component update was unsuccessful:
73-
74-
1. Access the logs in your Log Analytics workspace.
75-
76-
2. Select the **+** button to create a new query.
77-
78-
3. Copy and paste the following Kusto query to see when the agent has updated for the specified session host. Make sure to change the **sessionHostName** parameter to the name of your session host.
79-
80-
```kusto
81-
WVDAgentHealthStatus
82-
| where TimeGenerated >= ago(30d)
83-
| where SessionHostName == "sessionHostName"
84-
| where MaintenanceWindowMissed == true
85-
| project TimeGenerated, AgentVersion, SessionHostName, LastUpgradeTimeStamp, UpgradeState, UpgradeErrorMsg, MaintenanceWindowMissed
86-
| sort by TimeGenerated asc
87-
```
68+
```
8869
8970
## Next steps
9071

0 commit comments

Comments
 (0)