Whilst on a recent engagement with a customer we were looking at best practices and trying to quickly see how each PortGroup was configured, did all hosts have the same nics assigned to the same vSwitches, were all Portgroups setup the same to use the correct active and standby adapters ?
Have you ever tried doing this from the GUI ? Believe me it will take about 10 minutes to manually copy the relevant information from each host and if you have multiple PortGroups and multiple vSwitches then you can see how long this will take to check against best practice !
I think you know what is coming….
This came up again when someone asked me how to achieve exactly the same thing so I bumped it up my list of scripts I need to write.
Check out the below PowerCLI script, it lists all the needed information to perform this best practice analysis as you can see from the example output:
