I'm glad that helped, pip3r. As a suggestion, I would use the ADsPath and perform a GetObject() on it. Then I would disable it, rename it, and move it to another OU to delete at a later date. I wouldn't want to be the admin to accidentally delete an account that is still needed.

If you don't feel like doing that, I'd change the property returned from ADsPath to distinguishedName so you don't have to use Replace().