Custom Ad schema definition

Welcome Forums General PowerShell Q&A Custom Ad schema definition

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

1 year, 9 months ago.

  • Author
  • #70835

    Points: 23
    Rank: Member

    I am starting to create some Custom AD schema attributes. The first one I created was defined as singlevalued and checking it in ADSIEDIT confirms that. When I do a get-aduser -properties customatt, the string contained in that atttribute is displayed within curly brackets, usually indicating that it is an array or collection. Doing a GM on the returning object, the custom attribute definition is displayed as 'Deserialized.Microsoft.ActiveDirectory.Management.ADPropertyValueCollection' which also indicates it is an array or multivalued property. However when doing an '-is [array]' on the attribute I get false. I can certainly treat this property as though its a single string. Is this just a quirk of AD custom attributes and Powershell?


  • #70849

    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    Yup. The commands hates custom attributes, my precious.

  • #70852

    Points: 23
    Rank: Member

    Thanks Gollum 🙂

The topic ‘Custom Ad schema definition’ is closed to new replies.

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