VMware ESXi – Get VM’s by VLAN ID with PowerCLI

Often when when working in large environments you’ll get interesting requests. These may be to assist in troubleshooting, auditing, reporting or any other reason. I was recently requested to provide a list of mac addresses for every VM with a vNIC in a specific vlan. I had a feeling this was going Continue Reading