You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/extensions/network-watcher-update.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,16 +29,22 @@ The latest version of the Network Watcher extension is currently `1.4.2423.1`.
29
29
30
30
# [Linux](#tab/linux)
31
31
32
-
``` az vm extension image list-versions --publisher Microsoft.Azure.NetworkWatcher --location westeurope --name NetworkWatcherAgentLinux -o table ```
32
+
```powershell
33
+
az vm extension image list-versions --publisher Microsoft.Azure.NetworkWatcher --location westeurope --name NetworkWatcherAgentLinux -o table
34
+
35
+
```
33
36
34
37
# [Windows](#tab/windows)
35
38
36
-
``` az vm extension image list-versions --publisher Microsoft.Azure.NetworkWatcher --location westeurope --name NetworkWatcherAgentWindows -o table ```
39
+
```powershell
40
+
az vm extension image list-versions --publisher Microsoft.Azure.NetworkWatcher --location westeurope --name NetworkWatcherAgentWindows -o table
41
+
42
+
```
37
43
38
44
---
39
45
40
46
## Update your extension using a PowerShell script
41
-
Customers with large deployments who need to update multiple VMs at once. For updating select VMs manually, please see the next section
47
+
Customers with large deployments who need to update multiple VMs at once. For updating select VMs manually, see the next section.
42
48
43
49
```powershell
44
50
<#
@@ -155,7 +161,8 @@ Run the following command from an Azure CLI prompt:
155
161
az vm get-instance-view --resource-group "SampleRG" --name "Sample-VM"
156
162
```
157
163
Locate **"AzureNetworkWatcherExtension"** in the output and identify the version number from the *“TypeHandlerVersion”* field in the output.
158
-
Please note: Information about the extension appears multiple times in the JSON output. Please look under the "extensions" block and you should see the full version number of the extension.
164
+
165
+
Information about the extension appears multiple times in the JSON output. The full version number of the extension is available under the Extensions block.
0 commit comments