Skip to content

Commit 52398c9

Browse files
committed
Remove newpackagesavailable query due to bug preventing it from being visible to users.
1 parent 50a00e8 commit 52398c9

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

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

Lines changed: 1 addition & 23 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: 03/28/2022
6+
ms.date: 01/23/2023
77
ms.author: sefriend
88
manager: rkiran
99
---
@@ -26,28 +26,6 @@ To enable sending diagnostic logs to your Log Analytics workspace:
2626
> [!NOTE]
2727
> The log query results only cover the last 30 days of data in your deployment.
2828
29-
## Use diagnostics to see when an update becomes available
30-
31-
To see when agent component updates are available:
32-
33-
1. Access the logs in your Log Analytics workspace.
34-
35-
2. Select the **+** button to create a new query.
36-
37-
3. Copy and paste the following Kusto query to see if agent component updates are available for the specified session host. Make sure to change the **sessionHostName** parameter to the name of your session host.
38-
39-
> [!NOTE]
40-
> If you haven't enabled the Scheduled Agent Updates feature, you won't see anything in the NewPackagesAvailable field.
41-
42-
```kusto
43-
WVDAgentHealthStatus
44-
| where TimeGenerated >= ago(30d)
45-
| where SessionHostName == "sessionHostName"
46-
| project TimeGenerated, AgentVersion, SessionHostName, LastUpgradeTimeStamp, UpgradeState, UpgradeErrorMsg, NewPackagesAvailable
47-
| sort by TimeGenerated desc
48-
| take 1
49-
```
50-
5129
## Use diagnostics to see when agent updates are happening
5230

5331
To see when agent updates are happening or to make sure that the Scheduled Agent Updates feature is working:

0 commit comments

Comments
 (0)