Change user Active Directory attributes stored in a CSV file

Change user Active Directory attributes stored in a CSV file

This script change phone number and mobile phone number attributes for users based on a CSV file with the following template :

If you want to use the second script below (with the Quest cmdlets), just remove the header line of the csv file. This script uses a simple get-content to load csv file information

Script (with Microsoft Active Directory module loaded : import-module activedirectory) :

Different way using the Quest Active Directory module :

<>

My Powershell script categories

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Social Media Auto Publish Powered By : XYZScripts.com
%d bloggers like this: