1. I deploy a VM via PowerCLI
2. I run OSCustomizationSpec via PowerCLI and it's really change the name inside the VM
3. I turn off the VM.
4. I run this line: "Set-VM -VM VMOldName -Name VMNewName -OSCustomizationSpec Spec1" that change the name of the VM (not inside) and after it run the OSCustomizationSpec again.
5. the neme is not change never because the customization is not finished never, it stack when the last rows in the log file is :
Got VMX response 'connected'
The network interfaces are connected on 1 second
the next rows (that didn't appear but i know that from the first customization) is:
Successfully opened key SOFTWARE\VMware, Inc.\Guest Customization\
Size of reg_multi_sz 21.
thanks again.