Azure / Azure/azure-cli

[Reference feedback]: Network Watcher Packet Capture Example is wrong

Open
#31,442 2 comments 0 reactions 1 assignee Claimed by @necusjz View on GitHub
act-quality-productivity-squad Auto-Assign needs-triage Network question Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Type of issue

Code doesn't work

### Reference command name

Create a packet capture session on a VMSS.

`az network watcher packet-capture create -g MyResourceGroup -n MyPacketCaptureName --vm MyVmVMSS --storage-account MyStorageAccount --target-type "AzureVMSS"`

### Feedback

--vm MyVmVMSS should be --target MyVMVMSS

### Page URL

https://learn.microsoft.com/en-us/cli/azure/network/watcher/packet-capture?view=azure-cli-latest

### Content source URL

https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-autogen/Latest-version/latest/network/watcher/packet-capture.yml

### Author

@mikefrobbins

### Document Id

dddd7721-74bf-ea8d-3107-a56ad33bd5f7

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.