Tools for retrieving and modifying multi-value attributes in Microsoft ActiveDirectory
Posted
by
Justin
on Server Fault
See other posts from Server Fault
or by Justin
Published on 2011-02-24T01:48:29Z
Indexed on
2011/02/24
7:26 UTC
Read the original article
Hit count: 547
Most attributes in MSAD are single-valued and pose no problem. I am familiar with the dsquery user -samid jdoe | dsmod -webpg "http://some.url/" method. However, some attributes are multi-valued, such as telephone number and webpage. These values can be managed through the Active Directory Users & Computers Microsoft Console (dsa.msc) via the dialogue shown by clicking on the "Other..." button, but I'd really rather script the modifications. It seems to me that dsmod & dsget do not support multi-value retrieval and editing; only the first value of the set seems to be accesible. Am I correct? If I am not correct, I would appreciate a syntax example. If I am correct, would you please recommend an alternative scriptable tool that can handle multi-value attributes? The more "official and supported" the tool, the better.
© Server Fault or respective owner