Hi,
I am writing a script to automate some pools creation since we are migrating from linked clones to instant clones and I have been facing an issue when it comes to the -Nics parameter. I know it's optional but due to VLANs and DCHP restrictions I would like to assign each pool their own network(s). Anyway someone can provide me a sample on how to use the parameter using a port group label as string.
-Nics <DesktopNetworkInterfaceCardSettings[]>
desktopSpec.automatedDesktopSpec.virtualCenterProvisioningSettings.virtualCenterNetworkingSettings.nics
I have been very unsuccessful turning "VM-Network-2" to this object type the parameter is expecting.
Hi cbaptiste
Check out this thread as it may help...not great news
Yes. Thanks. I read it before like 20 times lol.
Answered on GitHub. Take a look and see if it works for you.
New-HVPool & Nics · Issue #376 · vmware/PowerCLI-Example-Scripts · GitHub