VMware Cloud Community
onsik
Contributor
Contributor

Complete ESXi 4.1 host info

HI

I have around 60 ESX i 4.1 host in my environment and I will be doing a migration (fresh installation ) to version 5 or 5.1

Could you please help me to write a script which gives me:

- ESX host name with info: memory size and CPU, license

- ESX IP address and vlan (managment IP)

- Datastores connected to it

- virtual switch info with (vmkernel, managment ports, vlans, info)

- virtual distributed switches configured

- HBA details

- vmnic info

Thanks a lot

onsik

Reply
0 Kudos
8 Replies
spravtek
Expert
Expert

Might RVTools be something for you? http://www.robware.net/

It does most if not all from what you ask.

Sorry if you already tried it.

Reply
0 Kudos
onsik
Contributor
Contributor

HI

Thanks for that. I am already using RVTools

I would prefer to have a script so later I can print the info out.

Thanks

Onsik

Reply
0 Kudos
iw123
Commander
Commander

Have a look at the vcheck script - http://www.virtu-al.net/vcheck-pluginsheaders/vcheck/

*Please, don't forget the awarding points for "helpful" and/or "correct" answers
Reply
0 Kudos
onsik
Contributor
Contributor

HI

I read about it too, but I would prefer a script.

Thanks

Onsik

Reply
0 Kudos
Grzesiekk
Expert
Expert

Unless somebody will have already written script like this i think you should try to post a squestion for less wide spectrum.

What you are asking is creating a

<-----------------------------------------------------------------------------------> this big script

What you could do is to make few more but more precise questions about those script sections. I bet if you will use the search in vmware communities, you will find at least 50% of those requirements already written

Greg

So for example

Need powershell script to collect ESX host Network Info

http://communities.vmware.com/message/1508711#1508711

Message was edited by: Grzesiekk

--- @blog https://grzegorzkulikowski.info
Reply
0 Kudos
onsik
Contributor
Contributor

Thanks Grzesiek,

I will try to narrow the script to the  info I need

Reply
0 Kudos
iw123
Commander
Commander

Hi,

vcheck is a powercli script/framework and well worth a look.

*Please, don't forget the awarding points for "helpful" and/or "correct" answers
Reply
0 Kudos