CmdID / az / az network / az network network-watcher
az network network-watcher packet-capture
These commands require that both Azure Network Watcher is enabled for the VMs region and that AzureNetworkWatcherExtension is enabled on the VM. Azure CLI reference
6 commands Its page in the Azure CLI reference
Commands
createCreate and start a packet capture on the specified VM.deleteDelete the specified packet capture session.listList all packet capture sessions within the specified resource group.query-statusQuery the status of a running packet capture session.showGet a packet capture session by name.stopStops a specified packet capture session.