Skip to content

Commit 4c84482

Browse files
authored
Update Get-AzNetworkWatcherPacketCapture.md
Add clarity on why using Get-... is a better option than just a reference to the New-...
1 parent 01a81fb commit 4c84482

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Network/Network/help/Get-AzNetworkWatcherPacketCapture.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ Get-AzNetworkWatcherPacketCapture -NetworkWatcher $networkWatcher -PacketCapture
5252
In this example we create a packet capture named "PacketCaptureTest" with multiple filters and a time limit. Once the session is complete, it will be saved to the specified storage account.
5353
We then call Get-AzNetworkWatcherPacketCapture to retrieve the status of the capture session.
5454
Note: The Azure Network Watcher extension must be installed on the target virtual machine to create packet captures.
55+
>[!NOTE]
56+
>If you create a reference to the packetcapture directly from the New-AzNetworkWatcherPacketCapture command, it won't have all the properties. By make a call to Get-AzNetworkWatcherPacketCapture, you will get all the object's properties.
5557
5658
### Example 2: Create a Packet Capture with multiple filters and retrieve its status
5759
```

0 commit comments

Comments
 (0)