We are playing around with Task Sequence variables in SCCM 2012 Sp1. We are reimaging Operating systems wirelessly and one of the problems we've run into is that when assigning the computer name the computer cannot connect to AD to query the %computername% variable so it assigns it a random Mini-xxxx name. One way we have thought about doing this is by storing the initial OSDComputerName and passing it back to the computer further down the OSD Task sequence. The initial value is stored correctly but when we try and pass that value into OSDComputerName we are getting the name of the variable and not the contents. How do we pass the contents of one Variable into another?
If anyone knows of a better way to do this then that would be great. I considered giving the computer a generic name and then renaming it when AD can be queried but was unsure how to even start approaching that.