imaging process
1. pxe script collects image safe data of computer name
2. deploy os image
3. script runs to install zenworks, reboot
4. power shell script to add-computer to domain, reboot.

this works very well on new computers, but if we are reimaging an exsiting computer. We manually have to remove the computers from ad and zenworks.
how can we automate this so we do not have to manually remove from AD and zen?

we have multiple windows 2008 r2 domain controlers at different sites, and windows 7 sp1 workstation.