Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1021
  • Last Modified:

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

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
0
jefmelkenbeek
Asked:
jefmelkenbeek
  • 3
1 Solution
 
Malli BoppeCommented:
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
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_20879944.html?sfQueryTermInfo=1+compar+excel+sheet+spread
0
 
jefmelkenbeekAuthor Commented:
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.

 
0
 
Malli BoppeCommented:
I really don't know.You need to ask some VB scripting guy. or have a pointer for this question over their.
0
 
Malli BoppeCommented:
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.
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now