vswitch info

Hi Guys,
 
Basically I am in a new role and the guy bore me did a partial vds migration.......
 
Anyway the setup is 2 standard vswitches:
vswitch 0 has 3 vmkernels for management nas and vmotion
vswitch 1 has lots of port groups with different vlans etc.
 
Is there a way I can out put all the config/settings so I can look at it on paper and then do the same with the vds and compare, so I can easily see where its at and what needs doing?
 
I found his:
https://www.vmadmin.co.uk/resources/48-vspherepowercli/251-powerclinetworkoutputcsv
Get-VMHostNetworkAdapter | select VMhost, Name, IP, SubnetMask, Mac, PortGroupName, vMotionEnabled, mtu, FullDuplex, BitRatePerSec | Export-Csv C:\VMHostNetworkDetails.csv
 
Which is close, I have tried editing it and figuring it out but no real joy? I would like the vswitch info, detailing the settings of each port group such as VLAN ID and MTU and vmnic attachment and failover too
LVL 2
piedthepiperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zephyr ICTCloud ArchitectCommented:
Did you try rvtools yet? It lists all info from your VMware environment, also vswitch and dvswitch... Don't know if it's enough detail for you ...
piedthepiperAuthor Commented:
I have tried it, It doesnt give me the info in he way I would like? Or maybe I am just using it wrong!?
Zephyr ICTCloud ArchitectCommented:
Hi, sorry, lost track of this one ... Well, if you really want all the nitty/gritty stuff I suspect you'd either need to find a starter script or try to go for one by yourself ... For the details you are after I'm thinking you will need to go for using esxcli via powercli.

Another nice resource for scripting

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
piedthepiperAuthor Commented:
I have managed to use a couple of scripts and merge the outputs into an excel sheet
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.