Difference between revisions of "Setting attributes with set QADUser"

From MyWiki
Jump to: navigation, search
Line 1: Line 1:
 
http://dmitrysotnikov.wordpress.com/2007/07/25/set-any-ad-attribute-with-powershell/<br>
 
http://dmitrysotnikov.wordpress.com/2007/07/25/set-any-ad-attribute-with-powershell/<br>
  
Set-QADUser jsmith -ObjectAttributes @{l=’New York’;description='Reallocated Jan 1'} ## changes city and description
+
Set-QADUser jsmith -ObjectAttributes @{l=’New York’;description='Reallocated Jan 1'} ## changes city and description<br>
 +
Set-QADUser ‘mycompany.com/usersOU/User1′ -objectAttributes @{otherTelephone=@(’555-34-67′,’555-34-68′)} ## Sets multivalued property

Revision as of 09:25, 26 January 2015

http://dmitrysotnikov.wordpress.com/2007/07/25/set-any-ad-attribute-with-powershell/

Set-QADUser jsmith -ObjectAttributes @{l=’New York’;description='Reallocated Jan 1'} ## changes city and description
Set-QADUser ‘mycompany.com/usersOU/User1′ -objectAttributes @{otherTelephone=@(’555-34-67′,’555-34-68′)} ## Sets multivalued property