VMware Cloud Community
itagsurya
Contributor
Contributor

How to get the multiple ESXi Servers IP's using poweshell command

Hi

We have 150 ESX servers.how to genarate the  ESXI server management ips and vMotion ips using  powercli.

Regards

Surya

if you found this or other information useful, please consider awarding points for "Correct" or "Helpful"
Reply
0 Kudos
2 Replies
itagsurya
Contributor
Contributor

Hi ,

below the poweshell command:

1.Get-vc vcenter

2.get-vmhost |% {Get-VMHostNetworkAdapter -VMhost $_.name -VMKernel} |ft -AutoSize -Property VMHost,Name,IP,SubnetMask

Regards

surya

if you found this or other information useful, please consider awarding points for "Correct" or "Helpful"
Reply
0 Kudos
BharatR
Hot Shot
Hot Shot


PowerCLI - List All ESXi Hosts Network Info

Get-VMHostNetworkAdapter | select VMhost, Name, IP,  SubnetMask, Mac, PortGroupName, vMotionEnabled, mtu, FullDuplex, BitRatePerSec

Best regards, BharatR--VCP4-Certification #: 79230, If you find this information useful, please award points for "correct" or "helpful".
Reply
0 Kudos