Skip to content

Commit 9b0a399

Browse files
authored
Update network-watcher-packet-capture-manage-cli.md
Updating CLI Commands
1 parent 9ef1111 commit 9b0a399

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/network-watcher/network-watcher-packet-capture-manage-cli.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ az vm extension set --resource-group resourceGroupName --vm-name virtualMachineN
6969
7070
### Step 2
7171
72-
To ensure that the agent is installed, run the `vm extension get` cmdlet and pass it the resource group and virtual machine name. Check the resulting list to ensure the agent is installed.
72+
To ensure that the agent is installed, run the `vm extension show` cmdlet and pass it the resource group and virtual machine name. Check the resulting list to ensure the agent is installed.
7373
7474
```azurecli
75-
az vm extension show -resource-group resourceGroupName --vm-name virtualMachineName --name NetworkWatcherAgentWindows
75+
az vm extension show --resource-group resourceGroupName --vm-name virtualMachineName --name NetworkWatcherAgentWindows
7676
```
7777

7878
The following sample is an example of the response from running `az vm extension show`
@@ -106,7 +106,7 @@ Once the preceding steps are complete, the packet capture agent is installed on
106106
The next step is to retrieve the Network Watcher instance. TThe name of the Network Watcher is passed to the `az network watcher show` cmdlet in step 4.
107107

108108
```azurecli
109-
az network watcher show -resource-group resourceGroup -name networkWatcherName
109+
az network watcher show --resource-group resourceGroup --name networkWatcherName
110110
```
111111

112112
### Step 2

0 commit comments

Comments
 (0)