The port group parameter didn’t seem to work with distributed port groups. I had to create a standard vswitch and port group to get it to work.
Deploy-PfaAppliance : Cannot process argument transformation on parameter ‘portGroup’. Cannot convert the “dvspg-name” value of type
“VMware.VimAutomation.ViCore.Impl.V1.Host.Networking.DistributedPortGroupImpl” to type
“VMware.VimAutomation.ViCore.Types.V1.Host.Networking.VirtualPortGroup”.
The port group parameter didn’t seem to work with distributed port groups. I had to create a standard vswitch and port group to get it to work.
Deploy-PfaAppliance : Cannot process argument transformation on parameter ‘portGroup’. Cannot convert the “dvspg-name” value of type “VMware.VimAutomation.ViCore.Impl.V1.Host.Networking.DistributedPortGroupImpl” to type “VMware.VimAutomation.ViCore.Types.V1.Host.Networking.VirtualPortGroup”.