VMware Cloud Community
karthick1239
Contributor
Contributor

Geting VM IP information.

Hi All,

i am involving some automation activity. i want to get an ip of VM that was assigned by DHCP during PXE Boot time.

in PXE boot we can see Client IP, Default gate way, Subnet mask.  i want to get those ips

.  is there any way via Powercli or rest APIs.  i want to find out which ip the VM is getting to deploy OS.

Regards,

Karthick V

0 Kudos
1 Reply
daphnissov
Immortal
Immortal

It's pretty simple with PowerCLI:

Get-VM <name> | Get-VMGuest | Select IPAddress

0 Kudos