I got a list of hosts that I am trying to find out which vmnic its attached to the vds
get-content esxhosts.txt | % { get-vmhostnetworkadapter -virtualswitch dvs -vmhost $_ } | select Name, Devicename
but does not seem to be working
any idea?
Have a look at Re: Script for DVSwitch Configuration
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hello,
kindly check the following command, give you a detailed information on all vmnics in a specific host:
Please consider marking this answer "CORRECT" or "Helpful" if you think your question have been answered correctly.
Cheers,
VCIX6-NV|VCP-NV|VCP-DC|
You do realise that this will only show the VMKernel?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference