compare Active Directory(AD) users from one AD1 with second AD2 in same forest

Posted on 2007-08-08
Last Modified: 2013-11-05
We have 2 domains with each own Active Directory exp AD1(domain1) and AD2(domain2).It's in Native mode.The users from AD1/ou-test/users/ are migragted to AD2/ou-test/users/. All the users and the objects of these migrated users has to be compared. When a user does not exist on AD2 or some of the objects like "displayname" are not filled in, it has to write it way into a xls. Is there a vbs script for this action? any help can be usefull.Thks
Question by:jefmelkenbeek
    LVL 23

    Expert Comment

    by:Malli Boppe
    use csvde to dump all the user details from both the ad's AD1 and AD2 into a excel spread sheets adxls1 and adxls2.
    Use the script in the beloe article to compare the excel spread sheets

    Accepted Solution

    thks for your reply. It was helpfull.But on several servers excel is not installed.I will try export it to csv file. How can I change:modify exchange attributes in AD with VBS.For example:
     Check/uncheck "Hide from Exchange Address lists", Forward rule to a another smtp address.

    LVL 23

    Expert Comment

    by:Malli Boppe
    I really don't know.You need to ask some VB scripting guy. or have a pointer for this question over their.
    LVL 23

    Expert Comment

    by:Malli Boppe
    I don't know how you could have accepted your comments as a solution.My first comments gave you a rough idea about about how to acheive the result.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now