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.