I have not yet found it obvious from the VMware PowerCLI documentation what constitutes a Linux guest OS specification, if you put the wrong combination of parameters you get an unhelpful error telling you that you have parameters from the wrong set but not what they are, so here is what I have found. This is whats needed to start;
New-OSCustomizationSpec -Name testByAVA -OSType Linux -NamingScheme vm -Domain avarcher.net -DnsServer 192.168.100.7
If you need to have DNS configured in the spec then it needs to be configured during the New-OSCustomizationSpec as the Set-OSCustomizationNicMapping for Linux does not allow DNS or WINS.
Get-OSCustomizationSpec testByAVA | Get-OSCustomizationNicMapping | Set-OSCustomizationNicMapping -IpMode UseStaticIP -IpAddress 192.168.100.1 -SubnetMask 255.255.255.0 -DefaultGateway 192.168.100.254