Thanks for the reply. Just so its known, I posted this on TechNet and this appears to be a 'known' flaw.
http://social.techne...3a-1d0e07d127a9
The suggestion was to populate the XML file but that's just not feasible because there are properties (like the computer name and OU it needs to go into) that are unique to each machine. With multiple system types and departments, we've got quite a listing of OU's in AD. Desktops in the Desktop OU, Laptops in the Laptop OU, both of which reside under the appropriate department OU which resides under the Office (city) OU, which resides under the Region OU and so on. You eventally end up with something like
CN=WASH-D760-12345,OU=Desktop,OU=Engineering,OU=IT,OU=Puget,OU=Washington,OU=NA,DC=dom,DC=dom,DC=dom
At this point I only see two ways of accomplishing what I need/would like to have done.
1) During Specialize, run a script that will generate the correct computer name & rename the computer. It reboots & logs on for the first time and have it run another script (via FirstLogonCommands) to determine the correct OU and join the domain, into the correct ou, via Add-Computer.
Also, for me, Add-Computer isn't working the way I expected - perhaps I'm doing it wrong:
Add-Computer -DomainName "our.domain.com" -Credential $cred -OUPath "OU=Washington,OU=NA,DC=dom" -Server F.Q.D.N\DC1.F.Q.D.N
Add-Computer -DomainName "our.domain.com" -Credential $cred -OUPath "OU=Washington,OU=NA,DC=dom" -Server F.Q.D.N\DC1
Add-Computer -DomainName "our.domain.com" -Credential $cred -OUPath "OU=Washington,OU=NA,DC=dom" -Server DC1.F.Q.D.N
Add-Computer -DomainName "our.domain.com" -Credential $cred -OUPath "OU=Washington,OU=NA,DC=dom" -Server DC1
and some other variations with and without quotes for the domain name and OU. If I leave off the -Server parameter, it works, but frequently it joins a workgroup, not a domain. Odd. Ideas?
2) Populate bogus information in the XML file, like the computer name and OU, then, like above, have the machine run some scripts at some point to rename itself and move itself to the appropriate OU.
The last option was to create some custom properties in the customsettings.ini (CS) file to call an external script that would do what I need it to do. However, I've not found any samples/examples of this online, nor have I located any literature that covers this. I'm aware one can create multiple custom properties but I don't know what the proper syntax is, or how I can ensure it (my code/script) will run before a certain stage to make sure processes that need to happen actually run.