Adding Custom Attribute

Welcome Forums General PowerShell Q&A Adding Custom Attribute

This topic contains 4 replies, has 4 voices, and was last updated by

Ron
 
Participant
2 years ago.

  • Author
    Posts
  • #63177

    Participant
    Points: 0
    Rank: Member

    How can i add Custom Attributes in Active Directory like
    a user's properties show below properties as well

    Laptop-Serial No:
    Desktop Serial No:

    Thanks.

  • #63180

    Participant
    Points: 3
    Rank: Member

    The description leaves some holes to the story. So have you extended your AD schema so that there is attributes 'Laptop-Serial No' and 'Desktop Serial No' and you ask how to populate values to those attributes or are you asking how to extend the schema to have the two attributes in the first place?

  • #63186

    Participant
    Points: 0
    Rank: Member

    sorry for incomplete info.
    i want to create above two additional properties of each user.i want to know how to extend AD Schema and how can i add additional properties to each user.

  • #63213

    Participant
    Points: 503
    Helping Hand
    Rank: Major Contributor

    Typically, you want to leverage unused attributes in your current schema, not add specific named attributes. For example, you might look at extendedAttribute# attributes (e.g. extendedAttribute12) and leverage them to hold data you'd like to associate with a user.

    • #63229
      Ron

      Participant
      Points: 2
      Rank: Member

      I believe those extended attributes are only there if you have installed Exchange. But there are a few others you might be able to steal, if they are unused. You can always leverage the notes field unless it has a specific purpose already, and you gain the ability to access it directly from ADUC without having to use the attribute editor. Extending the schema in a production environment is best left to a qualified AD engineer.

The topic ‘Adding Custom Attribute’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort