Script Download: RemoveDelegatedPermission.ziphttp://gallery.technet.microsoft.com/scriptcenter/Script-to-check-and-delete-94c6c6e6
As we know, there isn't a delete delegated permission wizard in Windows Server. If we want to delete all delegated permission and restore users' permission to default, we have to use ADUC and other tools such as Dsrevoke to check and delete each user's permission manually. Once we have the script, we could reduce a lot of work.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery