Skip to content

Commit 0527f57

Browse files
Merge pull request #270754 from halkazwini/vm-windows
Tweaks
2 parents aa15261 + 4bbac54 commit 0527f57

File tree

1 file changed

+27
-17
lines changed

1 file changed

+27
-17
lines changed

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

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,41 @@
11
---
2-
title: Manage Network Watcher Agent VM extension - Windows
2+
title: Manage Network Watcher Agent VM extension - Windows
33
description: Learn about the Network Watcher Agent virtual machine extension on Windows virtual machines and how to deploy it.
44
author: halkazwini
55
ms.author: halkazwini
66
ms.service: virtual-machines
77
ms.subservice: extensions
8-
ms.topic: how-to
9-
ms.date: 03/29/2024
108
ms.collection: windows
9+
ms.topic: how-to
10+
ms.date: 03/31/2024
11+
ms.custom: devx-track-azurepowershell, devx-track-azurecli, devx-track-arm-template
1112

1213
#CustomerIntent: As an Azure administrator, I want to learn about Network Watcher Agent VM extension so that I can use Network watcher features to diagnose and monitor my virtual machines (VMs).
1314
---
1415

1516
# Manage Network Watcher Agent virtual machine extension for Windows
1617

17-
[Azure Network Watcher](../../network-watcher/network-watcher-monitoring-overview.md) is a network performance monitoring, diagnostic, and analytics service that allows monitoring for Azure networks. The Network Watcher Agent virtual machine extension is a requirement for some of the Network Watcher features on Azure virtual machines (VMs). For more information, see [Network Watcher Agent FAQ](../../network-watcher/frequently-asked-questions.yml#network-watcher-agent).
18+
The Network Watcher Agent virtual machine extension is a requirement for some of Azure Network Watcher features that capture network traffic to diagnose and monitor Azure virtual machines (VMs). For more information, see [What is Azure Network Watcher?](../../network-watcher/network-watcher-overview.md)
1819

19-
In this article, you learn about the supported platforms and deployment options for the Network Watcher Agent VM extension for Windows. Installation of the agent doesn't disrupt, or require a reboot of the virtual machine. You can install the extension on virtual machines that you deploy. If the virtual machine is deployed by an Azure service, check the documentation for the service to determine whether or not it permits installing extensions in the virtual machine.
20+
In this article, you learn how to install and uninstall Network Watcher Agent for Windows. Installation of the agent doesn't disrupt, or require a reboot of the virtual machine. If the virtual machine is deployed by an Azure service, check the documentation of the service to determine whether or not it permits installing extensions in the virtual machine.
2021

2122
## Prerequisites
2223

2324
# [**Portal**](#tab/portal)
2425

2526
- An Azure Windows virtual machine (VM). For more information, see [Supported Windows versions](#supported-operating-systems).
2627

27-
- Internet connectivity: some of the Network Watcher Agent functionality requires that the virtual machine is connected to the Internet. For example, without the ability to establish outgoing connections, the Network Watcher Agent can't upload packet captures to your storage account. For more information, see [Packet capture overview](../../network-watcher/packet-capture-overview.md).
28+
- Outbound TCP connectivity to `169.254.169.254` over `port 80` and `168.63.129.16` over `port 8037`. The agent uses these IP addresses to communicate with the Azure platform.
29+
30+
- Internet connectivity: Network Watcher Agent requires internet connectivity for some features to properly work. For example, it requires connectivity to your storage account to upload packet captures. For more information, see [Packet capture overview](../../network-watcher/packet-capture-overview.md).
2831

2932
# [**PowerShell**](#tab/powershell)
3033

3134
- An Azure Windows virtual machine (VM). For more information, see [Supported Windows versions](#supported-operating-systems).
3235

33-
- Internet connectivity: some of the Network Watcher Agent functionality requires that the virtual machine is connected to the Internet. For example, without the ability to establish outgoing connections, the Network Watcher Agent can't upload packet captures to your storage account. For more information, see [Packet capture overview](../../network-watcher/packet-capture-overview.md).
36+
- Outbound TCP connectivity to `169.254.169.254` over `port 80` and `168.63.129.16` over `port 8037`. The agent uses these IP addresses to communicate with the Azure platform.
37+
38+
- Internet connectivity: Network Watcher Agent requires internet connectivity for some features to properly work. For example, it requires connectivity to your storage account to upload packet captures. For more information, see [Packet capture overview](../../network-watcher/packet-capture-overview.md).
3439

3540
- Azure Cloud Shell or Azure PowerShell.
3641

@@ -42,7 +47,9 @@ In this article, you learn about the supported platforms and deployment options
4247

4348
- An Azure Windows virtual machine (VM). For more information, see [Supported Windows versions](#supported-operating-systems).
4449

45-
- Internet connectivity: some of the Network Watcher Agent functionality requires that the virtual machine is connected to the Internet. For example, without the ability to establish outgoing connections, the Network Watcher Agent can't upload packet captures to your storage account. For more information, see [Packet capture overview](../../network-watcher/packet-capture-overview.md).
50+
- Outbound TCP connectivity to `169.254.169.254` over `port 80` and `168.63.129.16` over `port 8037`. The agent uses these IP addresses to communicate with the Azure platform.
51+
52+
- Internet connectivity: Network Watcher Agent requires internet connectivity for some features to properly work. For example, it requires connectivity to your storage account to upload packet captures. For more information, see [Packet capture overview](../../network-watcher/packet-capture-overview.md).
4653

4754
- Azure Cloud Shell or Azure CLI.
4855

@@ -54,7 +61,9 @@ In this article, you learn about the supported platforms and deployment options
5461

5562
- An Azure Windows virtual machine (VM). For more information, see [Supported Windows versions](#supported-operating-systems).
5663

57-
- Internet connectivity: some of the Network Watcher Agent functionality requires that the virtual machine is connected to the Internet. For example, without the ability to establish outgoing connections, the Network Watcher Agent can't upload packet captures to your storage account. For more information, see [Packet capture overview](../../network-watcher/packet-capture-overview.md).
64+
- Outbound TCP connectivity to `169.254.169.254` over `port 80` and `168.63.129.16` over `port 8037`. The agent uses these IP addresses to communicate with the Azure platform.
65+
66+
- Internet connectivity: Network Watcher Agent requires internet connectivity for some features to properly work. For example, it requires connectivity to your storage account to upload packet captures. For more information, see [Packet capture overview](../../network-watcher/packet-capture-overview.md).
5867

5968
- Azure PowerShell or Azure CLI installed locally to deploy the template.
6069

@@ -107,16 +116,15 @@ Use [Get-AzVMExtension](/powershell/module/az.compute/get-azvmextension) cmdlet
107116

108117
```azurepowershell-interactive
109118
# List the installed extensions on the virtual machine.
110-
Get-AzVMExtension -VMName 'myVM' -ResourceGroupName 'myResourceGroup' | format-table Name, Publisher, ExtensionType, EnableAutomaticUpgrade
119+
Get-AzVMExtension -ResourceGroupName 'myResourceGroup' -VMName 'myVM' | format-table Name, Publisher, ExtensionType, AutoUpgradeMinorVersion, EnableAutomaticUpgrade
111120
```
112121

113122
The output of the cmdlet lists the installed extensions:
114123

115124
```output
116-
Name Publisher ExtensionType EnableAutomaticUpgrade
117-
---- --------- ------------- ----------------------
118-
AzureNetworkWatcherExtension Microsoft.Azure.NetworkWatcher NetworkWatcherAgentWindows True
119-
AzurePolicyforWindows Microsoft.GuestConfiguration ConfigurationforWindows True
125+
Name Publisher ExtensionType AutoUpgradeMinorVersion EnableAutomaticUpgrade
126+
---- --------- ------------- ----------------------- ----------------------
127+
AzureNetworkWatcherExtension Microsoft.Azure.NetworkWatcher NetworkWatcherAgentWindows True True
120128
```
121129

122130

@@ -135,7 +143,6 @@ The output of the command lists the installed extensions:
135143
Name ProvisioningState Publisher Version AutoUpgradeMinorVersion
136144
---------------------------- ------------------- ------------------------------ --------- -------------------------
137145
AzureNetworkWatcherExtension Succeeded Microsoft.Azure.NetworkWatcher 1.4 True
138-
AzurePolicyforWindows Succeeded Microsoft.GuestConfiguration 1.1 True
139146
```
140147

141148
# [**Resource Manager**](#tab/arm)
@@ -240,7 +247,7 @@ New-AzResourceGroupDeployment -ResourceGroupName 'myResourceGroup' -TemplateFile
240247

241248
```azurecli
242249
# Deploy the JSON template file using the Azure CLI.
243-
az deployment group create --resource-group 'myResourceGroup' --template-file
250+
az deployment group create --resource-group 'myResourceGroup' --template-file 'agent.json'
244251
```
245252

246253
---
@@ -258,7 +265,7 @@ From the virtual machine page in the Azure portal, you can uninstall the Network
258265
:::image type="content" source="./media/network-watcher/uninstall-extension-windows.png" alt-text="Screenshot that shows how to uninstall Network Watcher Agent for Windows in the Azure portal." lightbox="./media/network-watcher/uninstall-extension-windows.png":::
259266

260267
> [!NOTE]
261-
> In the list of extensions, you might see Network Watcher Agent VM extension named differently than **AzureNetworkWatcherExtension**.
268+
> You might see Network Watcher Agent VM extension named differently than **AzureNetworkWatcherExtension**.
262269
263270
# [**PowerShell**](#tab/powershell)
264271

@@ -284,6 +291,9 @@ N/A
284291

285292
---
286293

294+
## Frequently asked questions (FAQ)
295+
296+
To get answers to most frequently asked questions about Network Watcher Agent, see [Network Watcher Agent FAQ](../../network-watcher/frequently-asked-questions.yml#network-watcher-agent).
287297

288298
## Related content
289299

0 commit comments

Comments
 (0)