Skip to content

Commit 87eff01

Browse files
committed
Learn Editor: Update network-watcher-update.md
1 parent c5321bb commit 87eff01

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,25 @@ This article assumes you have the Network Watcher extension installed in your VM
2323

2424
## Latest version
2525

26-
The latest version of the Network Watcher extension is `1.4.2423.1`.
26+
The latest version of the Network Watcher extension is `1.4.2573.1`.
2727

2828
### Identify latest version
2929

3030
# [Linux](#tab/linux)
3131

32-
```powershell
32+
```azurecli
3333
az vm extension image list-versions --publisher Microsoft.Azure.NetworkWatcher --location westeurope --name NetworkWatcherAgentLinux -o table
3434
3535
```
3636

3737
# [Windows](#tab/windows)
3838

39-
```powershell
39+
```azurecli
4040
az vm extension image list-versions --publisher Microsoft.Azure.NetworkWatcher --location westeurope --name NetworkWatcherAgentWindows -o table
4141
4242
```
4343

4444
---
45-
4645
## Update your extension using a PowerShell script
4746
Customers with large deployments who need to update multiple VMs at once. For updating select VMs manually, see the next section.
4847

@@ -151,6 +150,7 @@ Information about the extension appears multiple times in the JSON output. The f
151150
You should see something like the below:
152151
![Azure CLI Screenshot](./media/network-watcher/azure-cli-screenshot.png)
153152

153+
154154
#### Use PowerShell
155155

156156
Run the following commands from a PowerShell prompt:
@@ -163,6 +163,7 @@ Locate the Azure Network Watcher extension in the output and identify the ve
163163
You should see something like the below:
164164
![PowerShell Screenshot](./media/network-watcher/powershell-screenshot.png)
165165

166+
166167
### Update your extension
167168

168169
If your version is below the latest version mentioned above, update your extension by using any of the following options.
@@ -187,7 +188,7 @@ Removing the extension
187188
```powershell
188189
#Same command for Linux and Windows
189190
Remove-AzVMExtension -ResourceGroupName "SampleRG" -VMName "Sample-VM" -Name "AzureNetworkWatcherExtension"
190-
```
191+
```
191192

192193
Installing the extension again
193194

@@ -239,3 +240,4 @@ If you have auto-upgrade set to true for the Network Watcher extension, reboot y
239240
## Support
240241

241242
If you need more help at any point in this article, see the Network Watcher extension documentation for [Linux](./network-watcher-linux.md) or [Windows](./network-watcher-windows.md). You can also contact the Azure experts on the [MSDN Azure and Stack Overflow forums](https://azure.microsoft.com/support/forums/). Alternatively, file an Azure support incident. Go to the [Azure support site](https://azure.microsoft.com/support/options/), and select **Get support**. For information about using Azure Support, read the [Microsoft Azure support FAQ](https://azure.microsoft.com/support/faq/).
243+

0 commit comments

Comments
 (0)