Rui J.M. Silva Blog RSS

All Blogs  »  Rui J.M. Silva Blog  »  EHLO  »  Blog article: Notes from the field - Part III: free third party tools

Notes from the field - Part III: free third party tools

In a previous post, Notes from the field - migration tools, I mentioned that Microsoft provides all the tools you’ll need in order to achieve a successful inter-forest migration.

Well, there’s no way that these tools could cover all the aspects involved, so one solution is to use scripting. But since I prefer to do things with the least effort possible, I like to first investigate a little bit in order to find some better solution for my challenges.

During one of these searches, a colleague of mine, fellow MVP Alexandre Janeiro, found 2 cool tools, AdFind and AdMod, developed by Joe, a Microsoft MVP for Windows Server Directory Services.

  • AdFind - Command line Active Directory query tool. Mixture of ldapsearch, search.vbs, ldp, dsquery, and dsget tools with a ton of other cool features thrown in for good measure.
  • AdMod - Command line Active Directory modification tool. This is the natural extension to AdFind. I just took a long time to put it together. I was primarily prompted by dsmod,dsmove,dsrm.exe not being what I wanted them to be when I wanted them to be.

In my particular situation, I used these tools to remove the smtp proxyaddresses of the old domain. Here is the complete command line I used:

adfind -default -rb ou=MIGRATION -f “(proxyaddresses=smtp:*@olddomain.com)” -mvfilter proxyaddresses=@olddomain.com proxyaddresses -adcsv | admod proxyaddresses:-:{{proxyaddresses}} -unsafe

Technorati : , , ,
Del.icio.us : , , ,

Leave a Reply

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

If CAPTCHA image is missing or you cannot read the characters above, please generate a




Receive all the latest articles by email!

Receive Real-Time & Monthly MSExchange.org article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become an MSExchange.org member!

Discuss your Exchange Server issues with thousands of other Exchange experts. Click here to join!

Solution Center