Well, the solution is to use what is already available. In this script, i am using ADDS DsTools such as dsquery, dsget, and dsmod to update the user attribute value.
Here is the step:
1. Copy the content of below script into a batch file
2. Copy the batch file in Active Directory Server
3. Edit the batch configuration
a. AD Users Container
b. IPTel Prefix/Postfix value
4. Run the batch file
5. Once the batch file completed, the log file will be opened automatically.
6. Review the log file of any error as shown below screenshot
Hope this script will help your day....
Admin Scripts
No comments :
Post a Comment