Running into an issue here. When I run
Get-VMHost $VMHost1 | New-VirtualSwitch -Name vSwitch1 -Nic vmnic8,vmnic4
Everything works fine. However, when I run
$vSwitch1NIC1 = "vmnic8"
$vSwitch1NIC2 = "vmnic4"
Get-VMHost $VMHost1 | New-VirtualSwitch -Name vSwitch1 -Nic $vSwitch1NIC1,$vSwitch1NIC2
nothing happens at all.
Am I missing something here?
Thanks in advance,
I was running it from the PowerCLI prompt, and there was no message whatsoever.... yet strangely trying it again 10 minutes later it has worked. I guess the most likely culprit is a typo.
Thanks for your assistance in any case.