VMware Cloud Community
jasonrobinson
Enthusiast
Enthusiast
Jump to solution

Need Hostname, IP and # of cores

Hello All,

I need help with a script that will give me the ESX hostnames, the ip's and the # of cores in the host. If possible I also need to export this info into an word or excel doc. I am new to powershell and have no clue where to begin. Any help to point me in the right direction would be greatly appreicated, thanks.

Jason

Jason @jrob24
Reply
0 Kudos
1 Solution

Accepted Solutions
olan025
Enthusiast
Enthusiast
Jump to solution

Reply
0 Kudos
4 Replies
olan025
Enthusiast
Enthusiast
Jump to solution

Here's a report i use to get the list of servers with hardware and other info.

Are you looking for SC IP or VMK IP?

Reply
0 Kudos
jasonrobinson
Enthusiast
Enthusiast
Jump to solution

Looking for Service Console IP.

Jason @jrob24
Reply
0 Kudos
olan025
Enthusiast
Enthusiast
Jump to solution

This command gets the SC IP.

Not sure if i'll get time soon to integrate it into that other report i had. I'm sure LucD or Halr will offer up a streamlined one if I don't get to it.

Reply
0 Kudos
olan025
Enthusiast
Enthusiast
Jump to solution

another method

Reply
0 Kudos