Get-CINetworkAdapter : <timestamp> Get-CINetworkAdapter IPv6 is not supported.
+ Get-CIVM | Get-CINetworkAdapter
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (FirstAddress:String) [Get-CINetworkAdapter]、InvalidArgument
+ FullyQualifiedErrorId : Cloud_IPRange_IPv6NotSupported,VMware.VimAutomation.Cloud.Commands.Cmdlets.GetCINetworkAdapter
The Get-CINetworkAdapter command attempts to retrieve vApp Network information.
Currently, this command does not support IPv6 IP ranges.
As a result, the command fails with the error: "IPv6 is not supported."
Currently, there is no resolution.
As a workaround, if you need to retrieve the VM's IP address information, you can use the following command as an alternative:
Get-CIVM | ForEach-Object {
$vmname = $_.Name
$_.ExtensionData.Section.NetworkConnection | ForEach-Object {
[PSCustomObject]@{
VMName = $vmname
Index = $_.NetworkConnectionIndex
Network = $_.Network
MACAddress = $_.MACAddress
IpAddress = $_.IpAddress
SecondaryIpAddress = $_.SecondaryIpAddress
}
}
} | Format-Table -AutoSize