Skip to content

Commit c4687eb

Browse files
Merge pull request #239316 from halkazwini/nw-agent2
corrected the CLI command to check the latest version
2 parents 9697cb6 + 3a43995 commit c4687eb

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

articles/virtual-machines/extensions/network-watcher-update.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,43 +6,46 @@ author: halkazwini
66
tags: azure-resource-manager
77
ms.service: virtual-machines
88
ms.topic: conceptual
9-
ms.date: 03/27/2023
9+
ms.date: 05/25/2023
1010
ms.author: halkazwini
1111
ms.custom: devx-track-azurepowershell, devx-track-azurecli, template-concept, engagement-fy23
1212
---
1313

1414
# Update the Network Watcher extension to the latest version
1515

16-
## Overview
17-
1816
[Azure Network Watcher](../../network-watcher/network-watcher-monitoring-overview.md) is a network performance monitoring, diagnostic, and analytics service that monitors Azure networks. The Network Watcher Agent virtual machine (VM) extension is a requirement for capturing network traffic on demand and using other advanced functionality on Azure VMs. The Network Watcher extension is used by features like connection monitor, connection monitor (preview), connection troubleshoot, and packet capture.
1917

2018
## Prerequisites
2119

22-
This article assumes you have the Network Watcher extension installed in your VM.
20+
- An Azure account with an active subscription. [create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
21+
- An Azure virtual machine (VM) that has the Network Watcher extension installed.
2322

2423
## Latest version
2524

2625
The latest version of the Network Watcher extension is `1.4.2573.1`.
2726

2827
### Identify latest version
2928

30-
# [Linux](#tab/linux)
29+
Use [az vm extension image list](/cli/azure/vm/extension/image#az-vm-extension-image-list) command to identify the latest version of the Network Watcher extension for your VM's operating system.
3130

32-
```azurecli
33-
az vm extension image list-versions --publisher Microsoft.Azure.NetworkWatcher --location westeurope --name NetworkWatcherAgentLinux -o table
31+
# [Linux](#tab/linux)
3432

33+
```azurecli-interactive
34+
# Identify latest version of Network Watcher extension for Linux.
35+
az vm extension image list --name 'NetworkWatcherAgentLinux' --publisher 'Microsoft.Azure.NetworkWatcher' --latest --location 'eastus'
3536
```
3637

3738
# [Windows](#tab/windows)
3839

39-
```azurecli
40-
az vm extension image list-versions --publisher Microsoft.Azure.NetworkWatcher --location westeurope --name NetworkWatcherAgentWindows -o table
41-
40+
```azurecli-interactive
41+
# Identify latest version of Network Watcher extension for Windows.
42+
az vm extension image list --name 'NetworkWatcherAgentWindows' --publisher 'Microsoft.Azure.NetworkWatcher' --latest --location 'eastus'
4243
```
4344

4445
---
46+
4547
## Update your extension using a PowerShell script
48+
4649
Customers with large deployments who need to update multiple VMs at once. For updating select VMs manually, see the next section.
4750

4851
```powershell

0 commit comments

Comments
 (0)