Created
February 1, 2013 19:03
-
-
Save russom-woldezghi/4693311 to your computer and use it in GitHub Desktop.
PoweShell script to batch update Active Directory User accounts from .csv file (using Quest)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-CSV "c:\Path\to\file\usersupdate.csv" | | |
ForEach-Object {Set-QADUSer $_.SamAccountName -scriptPath $_.LoginScript -homeDirectory $_.HomeDirectory -title $_.JobTitle -department $_.Department -office $_.Office -streetAddress $_.StreetAddress -l $_.City -State $_.State -postalCode $_.PostalCode -company $_.Company -Manager $_.ManagerAdspath } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment