Active Directory Scripting

Rename the local administrator account for all PC’s in domain
If there is no administrator account log to CSV file with PC name
If access is denied log to CSV file with PC name
Create a custom local administrator account
If access is denied log to CSV file with PC name
Take an existing AD security group and add it to the local administrators group on PC
If access is denied log to CSV file with PC name
Log all results to a CSV file for future review

Leave a Reply

Your email address will not be published. Required fields are marked *