What about using powershell to add it to the domain? Create a powershell script that accepts switches, use an execute action to run it and use the variable in the switch?
Thanks for the reply. Powershell isn't my forte'. VBScript is. But in this case, I am thinking just two separate scripts for Laptops and Desktop may have to do the trick. If I have a bare metal box and I am PXE booting it, "Has Battery" doesn't populate in the database with the provisioning agent (either in time or at all), therefore unless I have to rely on human input on this.
This may be a good enhancement request to add conditional IF statements and also choose selectively some DB attributes for the provisioning agent to grab.
You could use a WMI query to look for the Chassis type. There are only a number of predefined Chassis types, so you can easily distinguish laptops/desktops in 1 script. Look here for more info: