I want to create a script to automate the many steps of setting up and removing network port mirroring. The first step is to get the port number(s) of a VM. Anyone know how to do that with PowerCLI?
Powercli 5.1 release 2
vCenter Server 5.5
ESXi 5.1