VM customization is a very powerful feature that can make miracles during the deployment process. Since vSphere PowerCLI 4.0 U1, you can use cmdlets to modify a number of network settings of the newly created virtual machines. Here is how to do it:
Regards,
Nedko Nedev
Member of PowerCLI Dev Team