Or condition for -netadaptername parameter in new-vmswitch cmdlet

by Mar 28, 2015

Hello,
I'm trying create a new vmswitch using the new-vmswitch cmdlet and -netadaptername parameter.  
I need to set the parameter to either "Ethernet" or "Ethernet 2" as they are the only two valid values and it needs to be one or the other, not both.  
I'm having trouble crafting the "or" statement for this.  "Ethernet" or "Ethernet 2"???
new-vmswitch -name "internet" -ComputerName "srv2" -netadaptername "Ethernet"