Get-ADForestConflictObjects Function

Obtains all conflict objects for a forest along with the corresponding 'live' object (if the 'live' object exists). Returns the two sets of objects as a PS custom object containing the objects' DistinguishedNames as well as their WhenChanged dates.

5 Star
1,704 times
Add to favorites
Active Directory
E-mail Twitter Digg Facebook
Sign in to ask a question

  • Does this search against all partition?
    1 Posts | Last post March 09, 2017
    • Hi,
      Does this search against all partition?  I ran this script and it does not create a CSV file.  But I do have conflicts in my configuration partition.
  • Script is not running on Windows Server 2012
    2 Posts | Last post May 03, 2016
    • Hello Ian,
      Thanks for sharing the script to find Conflict objects in AD Forest. But it seems when I run it with powershell 4 its not running.
    • Slight change to script made to cope with trusted forest. Tested on v 4 & 5.
      What happens if you run the following against each domain in your forest?
      Get-ADObject -LDAPFilter "(|(cn=*\0ACNF:*)(ou=*CNF:*))" -Properties WhenChanged -Server <your_domain>
  • Unable to view the live object.
    2 Posts | Last post April 07, 2016
    • Hi Ian,
      Ran the script and I am getting only the cnf object and not the live object. 
      My issue is, I am seeing this object from ADSI EDIT and from powershell commands. It is not located in ADUC.
      I am not sure whether i can delete the cnf object, which is showing in ADSIEDIT. If we can delete the object, I need to confirm that there is no other live object for the same cnf object.
      Please do the needful.
    • Updated script loaded. Try that, please.