From LedHed's Wiki
Jump to: navigation, search
Line 29: Line 29:
  
 
== Notes ==
 
== Notes ==
*CN=409 is for US, for other languages use a different number.
+
*CN=409 is for US English, for other languages use the corresponding number.
 
*extraColumns refers to the extra columns you can add to a display.
 
*extraColumns refers to the extra columns you can add to a display.
 
*extraColumns is not cumulative. If an object's extraColumns is empty then it refers to the extraColumns in CN=default-Display. If you add even one item to an objects extraColumns attribute, then you need to add all the items you want displayed, otherwise you only get the one you just added. For example if you add serialNumber to CN=organizationalUnit-Display, and want all the default extraColumns (Name, Description, etc...), then you need to copy all the items in CN=default-Display\extraColumns to CN=organizationalUnit-Display\extraColumns + add serialNumber.
 
*extraColumns is not cumulative. If an object's extraColumns is empty then it refers to the extraColumns in CN=default-Display. If you add even one item to an objects extraColumns attribute, then you need to add all the items you want displayed, otherwise you only get the one you just added. For example if you add serialNumber to CN=organizationalUnit-Display, and want all the default extraColumns (Name, Description, etc...), then you need to copy all the items in CN=default-Display\extraColumns to CN=organizationalUnit-Display\extraColumns + add serialNumber.

Revision as of 21:20, 16 March 2016

THIS IS AWESOME!!!!


Add Additional Attributes to Computer Search

ADSIEDIT
Connect to Forrest level Domain Controller, Configuration naming context
CN=Configuration,DC=<YourDomain>,DC=<YourTLD>\CN=DisplaySpecifiers\CN=409\
CN=computer-Display <- Properties
Edit the attributeDisplayNames attribute.
Add the attribute you want to see in the following format:

<ldapdisplayname>,<column header>

Example:

serialNumber,Serial Number


Add Additional Attributes to ADUC columns

ADSIEDIT
Connect to Forrest level Domain Controller, Configuration naming context
CN=Configuration,DC=<YourDomain>,DC=<YourTLD>\CN=DisplaySpecifiers\CN=409\
CN=default-Display <- Properties
Edit the extraColumns attribute.
Add the attribute you want to see in the following format:

<ldapdisplayname>,<column header>,<default visibility>,<width>,<unused>

Example:

comment,Comment,0,150,0

Note: The above modification will make the 'comment' attribute available to default containers only. If you want the comment attribute as a column option for OU's then you would have to add 'comment' to CN=organizationalUnit-Display\extraColumns attribute. SEE NOTES SECTION BELOW, modifying CN=organizationalUnit-Display may result in losing the default column options.


Notes

  • CN=409 is for US English, for other languages use the corresponding number.
  • extraColumns refers to the extra columns you can add to a display.
  • extraColumns is not cumulative. If an object's extraColumns is empty then it refers to the extraColumns in CN=default-Display. If you add even one item to an objects extraColumns attribute, then you need to add all the items you want displayed, otherwise you only get the one you just added. For example if you add serialNumber to CN=organizationalUnit-Display, and want all the default extraColumns (Name, Description, etc...), then you need to copy all the items in CN=default-Display\extraColumns to CN=organizationalUnit-Display\extraColumns + add serialNumber.



Reference

http://www.showmehowtodoit.com/how-to-add-additional-columns-in-active-directory-users-and-computers-console/

http://www.pberblog.com/blog/add-extra-columns-to-active-directory-users-and-computers-display/