This script generate all the repadmin commands to find lingering object on all domain controllers in an Active Directory forest.

You will find below two versions of the script : one using the Microsoft Powershell cmdlet get-adobject (import-module activedirectory), another using the get-qadobject Powershell cmdlet from Quest.

Scripts :

Another tool can be used to find and remove lingering objects : repldiag

Syntax:


References

Repadmin

<>

My Powershell script categories

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Social Media Auto Publish Powered By : XYZScripts.com
%d bloggers like this: