Is there a way to configure the management interface of a nested ESXi Guest over PowerCLI?
I'm looking to automate the configuration of a nested ESXi VM for testing customer configurations / clusters. I see that the
Get-EsxCli command seems to do what I want, i.e.
$esxcli = Get-EsxCli -VMHost "YourHost" $esxcli.network.ip.interface.ipv4.set(-i vmk1 -I 10.27.51.143 -N 255.255.255.0 -t static)
However I see the host must already exist in vCenter, so from a templated VM with no networking this isn't possible.
Set-VMGuestNetworkInterface is only valid for Windows guests.