Skip to content

Commit e74294f

Browse files
committed
fix validation warnings
1 parent 5d86e2c commit e74294f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ In this article, you learn how to use the Azure Network Watcher [packet capture]
6464
---
6565

6666
> [!NOTE]
67-
> - Azure creates a Network Watcher instance in the virtual machine's region if Network Watcher wasn't enabled for that region. For more information, see [Enable or disable Azure Network Watcher](network-watcher-create.md).
67+
> Azure creates a Network Watcher instance in the virtual machine's region if Network Watcher wasn't enabled for that region. For more information, see [Enable or disable Azure Network Watcher](network-watcher-create.md).
6868
6969
If a network security group is associated to the network interface, or subnet that the network interface is in, ensure that rules exist to allow outbound connectivity over the previous ports. Similarly, ensure outbound connectivity over the previous ports when adding user-defined routes to your network.
7070

@@ -117,7 +117,6 @@ If a network security group is associated to the network interface, or subnet th
117117

118118
# [**PowerShell**](#tab/powershell)
119119

120-
121120
To start a capture session, use [New-AzNetworkWatcherPacketCapture](/powershell/module/az.network/new-aznetworkwatcherpacketcapture) cmdlet:
122121

123122
```azurepowershell-interactive
@@ -155,13 +154,14 @@ The packet capture will stop once the time limit or the file size (maximum bytes
155154

156155
To start a capture session, use [az network watcher packet-capture create](/cli/azure/network/watcher/packet-capture#az-network-watcher-packet-capture-create) command:
157156

158-
159157
```azurecli-interactive
160158
# Start the Network Watcher capture session.
161159
az network watcher packet-capture create --name 'myVM_1' --resource-group 'myResourceGroup' --vm 'myVM' --storage-account 'mystorageaccount'
162160
```
161+
163162
> [!NOTE]
164163
> If the storage account is in a different resource group than the virtual machine, use its full resource ID instead of the name: `/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/myResourceGroup2/providers/Microsoft.Storage/storageAccounts/mystorageaccount`.
164+
165165
---
166166

167167
## Stop a packet capture
@@ -170,7 +170,7 @@ az network watcher packet-capture create --name 'myVM_1' --resource-group 'myRes
170170

171171
To manually stop a packet capture session before it reaches its time limit, select the **...** on the right-side of the packet capture, or right-click it, then select **Stop**.
172172

173-
:::image type="content" source="./media/packet-capture-manage/stop-packet-capture.png" alt-text="Screenshot that shows how to stop a packet capture in the Azure portal." lightbox="./media/packet-capture-manage/stop-packet-capture.png":::
173+
:::image type="content" source="./media/packet-capture-manage/stop-packet-capture.png" alt-text="Screenshot that shows how to stop a packet capture in the Azure portal." lightbox="./media/packet-capture-manage/stop-packet-capture.png":::
174174

175175
# [**PowerShell**](#tab/powershell)
176176

@@ -202,7 +202,7 @@ az network watcher packet-capture stop --location 'eastus' --name 'myVM_1'
202202

203203
Go to the **Packet capture** page of Network Watcher to list existing packet captures regardless of their status.
204204

205-
:::image type="content" source="./media/packet-capture-manage/view-packet-capture.png" alt-text="Screenshot that shows how to list and see packet captures in the Azure portal." lightbox="./media/packet-capture-manage/view-packet-capture.png":::
205+
:::image type="content" source="./media/packet-capture-manage/view-packet-capture.png" alt-text="Screenshot that shows how to list and see packet captures in the Azure portal." lightbox="./media/packet-capture-manage/view-packet-capture.png":::
206206

207207

208208
# [**PowerShell**](#tab/powershell)

0 commit comments

Comments
 (0)