We have win2k8 virtualized in Xen Server running the domain "lab.local" along with 45 Windows XP Pro VM's that are all the same (all made from one golden template in xenserver then deployed 45 times over). We would like to have these systems automatically hostnamed from host00001-host00045 and then joined to the domain "lab.local". I've been reading some various pieces on the internet, but coding is not my strongest point. I'm learning slowly, but I'd appreciate some help from my fellow EE members that are much smarter than me in this sort of thing :).
It would be nice if this setup could also work for Windows 7 as we're not sure yet which route we are going to take the final setup to.
Thank you very much!