Hi,
I'm trying to use powershell to return the IPv6 address of my esx host running 5.5 update 2. I'm using powercli 6.0, but when i attempt to run either:
Get-VMHostNetworkAdapter | select VMhost, Name, IP
or
Get-VMhost | Get-View | select Name, @{N="IP Address";E={($_.Config.Network.Vnic | ? {$_.Device -eq "vmk0"}).Spec.Ip.IpAddress}}
both return empty fields for the IP address. Is powershell not capable of returning the IPv6 address?
Thanks in advance.
Did you alreade try with Get-EsxCli and then
$esxcli.network.ip.interface.ipv6.address.list()
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Did you alreade try with Get-EsxCli and then
$esxcli.network.ip.interface.ipv6.address.list()
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I did not know about "Get-EsxCli", but that does work! Thanks.