https://blogs.vmware.com/PowerCLI/2014/05/working-customization-specifications-powercli-part-1.html
http://powershelldistrict.com/powercli-oscustomizationspec/
https://powercli-core.readthedocs.io/en/latest/cmd_new.html#new-oscustomizationspec
https://www.itnotebooks.com/?p=716
New-OSCustomizationSpec -Name TestLinux -OSType Linux -Domain lucd.info -DnsSuffix lucd.info -DnsServer 8.8.8.8
cankao https://communities.vmware.com/thread/567585
Get-OSCustomizationSpec liunx
New-OSCustomizationNicMapping -OSCustomizationSpec abc -IpMode UseStaticIP -IPAddress 10.11.17.10 -SubnetMask 255.255.255.0 -DefaultGateway 10.0.0.253
Get-VM -name yace-mtqq*|set-VM -MemoryGB 4 -NumCPU 2
new-VM -Name yace-mtqq04 -Template template-centos76 -VMHost 10.11.31.5 -OSCustomizationspec TestLinux
Get-OSCustomizationSpec TestLinux|Get-OSCustomizationNicMapping|Set-OSCustomizationNicMapping -IpMode UseStaticIP -SubnetMask 255.255.255.0 -DefaultGateway 10.11.17.254 -IpAddress 10.11.17.203
原文:https://www.cnblogs.com/LC161616/p/12662372.html