CmdID / az / az network / az network watcher / az network watcher packet-capture
az network watcher packet-capture list
List all packet capture sessions within a region. Azure CLI reference
2 examples 2 options Its page in the Azure CLI reference
Examples
List all packet capture sessions within a region.
az network watcher packet-capture list -l westusIdentify-lLocation.List all packet capture sessions within a resource group (autogenerated)
az network watcher packet-capture list --location westus --subscription MySubscriptionIdentify--locationLocation.--subscriptionName or ID of subscription.Options
--watcher-nameName of the network watcher.--watcher-rgName of the resource group the watcher is in.