Update Attributes for Active Directory Users

rated by 0 users
Not Answered This post has 0 verified answers | 1 Reply | 1 Follower

Not Ranked
1 Posts
rodonz posted on 03-20-2012 7:13 AM

Is there a PS Script that can read user first and last names from a spread sheet, find that user in active directory, update a couple of attributes and then print out the successful and unsuccessful updates in two excel files?  Thanks in advance.

All Replies

Top 25 Contributor
296 Posts
Microsoft MVP
Top Contributor

Yes that is possible but reading and writing to Excel from PowerShell is very slow. I'd recommend using csv files and converting them to Excel at the end of the script.

Most of what you want is available here


but be aware that it covers four different methods of modifying AD

Page 1 of 1 (2 items) | RSS
Copyright 2012 PowerShell.com. All rights reserved.