I'm looking for a similar VBS (see linked question) that could be used from within ADUC via the right click context menu - I already know how to add an item to a context menu and point it to the finished VBS, it's just the VBS itself that I need help with.
The VBS would give the ability to right click on an individual or large number of user objects within an OU, from the context menu you would select an appropriately named option that would launch the VBS from the NetLogon or central file share.
The VBS would then gather all required information and delete the following:
Home Directory (and all subfolders and files)
Profile Directory (and all subfolders and files)
Exchange 2007 Mailbox
AD User Object
The script would need to be able to run against any OU containing user objects in ADUC, it would also need to cope with a comma in the CN or Display Name of the user account eg: Bloggs, Joe
Unlike the linked question I dont require a 'whenChanged' function, this would be actioned immediately regardless of whether the account is disabled / enabled.