Skip to content

Commit 70e17ef

Browse files
committed
tweaks to Download a packet capture section
1 parent 7474ef6 commit 70e17ef

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,10 @@ To download a packet capture file saved to Azure storage, follow these steps:
313313
1. In the blob page, select **Download**.
314314

315315

316-
You can also download capture files from the storage account container using the Azure portal or Storage Explorer<sup>1</sup> at the following path:
316+
You can also download capture files by directly going to the storage account container at the following path:
317317
```
318318
https://{storageAccountName}.blob.core.windows.net/network-watcher-logs/subscriptions/{subscriptionId}/resourcegroups/{storageAccountResourceGroup}/providers/microsoft.compute/virtualmachines/{virtualMachineName}/{year}/{month}/{day}/packetcapture_{UTCcreationTime}.cap
319319
```
320-
<sup>1</sup> Storage Explorer is a standalone app that you can conveniently use to access and work with Azure Storage data. For more information, see [Get started with Storage Explorer](../vs-azure-tools-storage-manage-with-storage-explorer.md).
321320

322321
# [**PowerShell**](#tab/powershell)
323322

@@ -334,9 +333,6 @@ To download a packet capture from Azure storage to the local disk, use [Get-AzSt
334333
Get-AzStorageBlobContent -Container 'network-watcher-logs' -Blob '/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourcegroups/myresourcegroup/providers/microsoft.compute/virtualmachines/myvm/2024/01/25/packetcapture_22_44_54_342.cap' -Destination 'C:\Capture\myVM_1.cap'
335334
```
336335

337-
> [!NOTE]
338-
> You can also download the capture file from the storage account container using the Azure Storage Explorer. Storage Explorer is a standalone app that you can conveniently use to access and work with Azure Storage data. For more information, see [Get started with Storage Explorer](../vs-azure-tools-storage-manage-with-storage-explorer.md).
339-
340336
# [**Azure CLI**](#tab/cli)
341337

342338
If a storage account is specified, capture files are saved to the storage account at the following path:
@@ -352,12 +348,12 @@ To download a packet capture from Azure storage to the local disk, use [az stora
352348
az storage blob download --container-name 'network-watcher-logs' --blob-url '/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourcegroups/myresourcegroup/providers/microsoft.compute/virtualmachines/myvm/2024/01/25/packetcapture_22_44_54_342.cap' --file 'C:\Capture\myVM_1.cap'
353349
```
354350

355-
> [!NOTE]
356-
> You can also download the capture file from the storage account container using the Azure Storage Explorer. Storage Explorer is a standalone app that you can conveniently use to access and work with Azure Storage data. For more information, see [Get started with Storage Explorer](../vs-azure-tools-storage-manage-with-storage-explorer.md).
357-
358351
---
359352

360353
> [!NOTE]
354+
> You can use Azure Storage Explorer to download capture files from the storage account container. Storage Explorer is a standalone app that you can conveniently use to access and work with Azure Storage data. For more information, see [Get started with Storage Explorer](../vs-azure-tools-storage-manage-with-storage-explorer.md).
355+
356+
> [!IMPORTANT]
361357
> During the packet capture session, the capture file might not immediately appear in the storage account container because it's initially saved to a temporary location. The file is transferred to its final location after the capture session is completed.
362358
363359
To download a packet capture file saved to the virtual machine (VM), connect to the VM and download the file from the local path specified during the packet capture creation.

0 commit comments

Comments
 (0)