is there any command shell or way to find CNF objects in active directory

like we have 4 or 5 domain controllers, don't know on where it s .

but how should i do query , how should  i reach that page ,do i need to use adsiedit?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dariusz TykaICT Infrastructure Specialist Senior Commented:
You can use simple query below to find all duplicated AD objects
dsquery * -filter "(cn=*cnf:*)"
For more info you can read this MS article:
pramod1Author Commented:
can i in any way see in GUI,
pramod1Author Commented:
I ran this in powershell but no output
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Dariusz TykaICT Infrastructure Specialist Senior Commented:
Then you can use ADUC snap-in and saved query.  Search for (cn=*cnf:*)
See more here:
pramod1Author Commented:

is there any way i can do query , i go to users and computers but get lost, also i ran the command but need to delete those can i get the whole output in some text format
Dariusz TykaICT Infrastructure Specialist Senior Commented:
ADUC -> left click on Saves queries -> New -> Query. Name it whatever you like. Click Define query and in Find field switch to custom search. Then click advanced tab and paste here (cn=*cnf:*). Clisk OK and once again OK to start search.
pramod1Author Commented:
cant type anything
Dariusz TykaICT Infrastructure Specialist Senior Commented:
The find drop down menu should be 'custom search' not 'computers'.
pramod1Author Commented:
ok, but how should i delete them  when i get the result
Dariusz TykaICT Infrastructure Specialist Senior Commented:
Those are duplicated entries in active directory. If are not used can be safely deleted.
pramod1Author Commented:
so just right click and delete?
Dariusz TykaICT Infrastructure Specialist Senior Commented:
Yes indeed.
pramod1Author Commented:
will to go recycle bin or tombstone will clean it
Dariusz TykaICT Infrastructure Specialist Senior Commented:
Deleted objects will go to recycle bin (if enabled). Then when deleted objects lifetime has been exceeded – remember, 180 days most of its attributes will be deleted and object cannot be recovered. After recycled object has existed for the value of the Tombstone Lifetime, it is then physically deleted from the database via garbage collection. At the next online defrag, that whitespace will be recovered from the database.
More info on how AD recycle bin works you can find here:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.