Active Directory data into SQL table -
how extract active directory info (username, first name, surname) , populate sql table results?
many thanks
scott
the way large ad environment:
- nightly batch process runs adfind (freeware tool) execute ldap query , dump out csv files
- bcp (built-in sql command line tool) bulk import csv files import tables in sql database
- stored procedure (executed osql) take data import table , add/update records in main tables
we pull 145k users, 80k groups, 130k computers 10 domains in 2 hours start finish. includes pulling accurate lastlogon information users , computers requires hit each domain controller. without that, process takes 30 minutes.
Comments
Post a Comment