Hi all,
I currently am working on client site, and I've been requested to research the possibility of renaming a VMWare virtual machine computer name using a step in an SCCM 2012 Task Sequence.
The idea is this:
1. Using a script to obtain the MAC address of the virtual machine
2. Once it has the MAC address, using the same or another script to query the VCenter database using PowerCLI or similar to find that MAC address to then find the VM friendly name, to then change the NETBIOS name of the deployed & domain joined machine.
This is all to alleviate having to type in the VMWare virtual machine friendly name, and the NETBIOS name (OSDComputerName)....an attempt in reducing double handling.
I've seen a few scripts floating around on the interwebs, but nothing substantial or overly specific to what I'm looking for.