hi all,
I tryed to rename a VM (the host name of the VM) via PowerCLI with this code:
New-VM -Name $name -Template $template -VMHost $vmhost
Set-VM -VM $name -OSCustomizationSpec &Spec1 -Confirm:$false
When Spec1 let the NetBIOS Name be the virtual machine name (=$name)
But, it still get the name of the template machine name (=$template),
thank's