PowerCLI Functions PortMirroring to Wireshark server (Add and Remove)

PowerCLI Functions PortMirroring to Wireshark server (Add and Remove)

The web client isn't the best, so when I had to setup a few wireshark monitors for VMs I went looking for PowerCLI solutions. I came across some code from LucD and put them into functions.

https://communities.vmware.com/message/2507811#2507811

https://communities.vmware.com/message/2648926#2648926

Add-VMwareMirrorPortForward -MirrorSessionName "SessionName" -MirrorDesc "Description or Reason for Mirror" -WireSharkIP "192.168.1.10" -vmName "VM_Name" -dvsName "DVS_Name"

Remove-VMwareMirrorPortForward -mirrowSessionName "SessionName" -dvsName "DVS_Name"

Attachments
Version history
Revision #:
1 of 1
Last update:
‎11-01-2017 07:32 AM
Updated by: