Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 176561

Get List of IP addresses for each VM

$
0
0

Hello,

I have a script to get Ip address and vm name:

 

Get-VM | Select Name,VMHost, @{N="IP Address";E={@($_.guest.IPAddress[0])}} |

Export-Csv -NoTypeInformation C:\Users\gemela\Desktop\machine_ip.csv

 

I get only one IP, I want to get also management ip and backup ip.

 

Is possible? ideally will be nice to get all IP for each machine.

 

Thanks


Viewing all articles
Browse latest Browse all 176561

Trending Articles