PowerCLI: Add configuration details to VMX
Arne Fokkema has created a PowerCLI script that makes it possible to add configuration details to your VM's VMX file read from a CSV file. This allows for automating your Virtual Machines hardware configuration features and VM security profile.
read more:
http://ict-freak.nl/2009/07/08/powercli-add-multiple-values-to-a-vmx-file/