Here is a script I created so that I could delete users accounts on stations but not have to use DelProf. It works by called with WMI class win32_userProfile, which will remove the user in the registry and it will remove their user folder.

You can point it at any machine on the network and it will remove the account.

It has some error checking, it will make sure the user is not logged in and there is a valid path to the users folder.

So here it is: