This script can be used to generate a list of Active Directory users and computes.
This script generates 2 output files ADUserInfo.csv and ADCompInfo.csv which contains user and computer information respectively.
Note: By default, an Active Directory search returns only 1000 items; if your domain contains more than 1000 users or computers, you need to set the $objSearch.PageSize value in the script ($objSearch.PageSize = 5000).
You can download the script from the following location:











0 comments:
Post a Comment