You can use this PowerShell script to search Active Directory and get the user properties. The input file (OU.csv) contains OU name sin the following format:
Script:
Download:
You can download the script from the following locations:
www.sivarajan.com - http://www.sivarajan.com/scripts/SearchAD_UserInfo.txt
Microsoft TechNet Gallery - http://gallery.technet.microsoft.com/scriptcenter/dd152aa5-bc94-4ac8-9eeb-3bc5b98d425a
More scripts - http://portal.sivarajan.com/search?q=script+powershell&max-results=20
0 comments:
Post a Comment