Exporting data from 'info' attribute (Notes field)

Welcome Forums General PowerShell Q&A Exporting data from 'info' attribute (Notes field)

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

 
Participant
3 years, 8 months ago.

  • Author
    Posts
  • #22341

    Participant
    Points: 0
    Rank: Member

    Hi,

    Is there a way to export the values from my users' 'info' AD attribute (corresponds to the Notes field in the user properties)?

    This Technet article below does NOT have it listed as an extended attribute usable by get-aduser, but further on down in the comments, it is discussed as valid.

    The command I am trying is simply get-aduser -filter * -Properties info. It returns the list of users, but only with the default Properties for that command.

    http://social.technet.microsoft.com/wiki/contents/articles/12037.active-directory-get-aduser-default-and-extended-properties.aspx

  • #22342

    Keymaster
    Points: 7
    Rank: Member

    Yeah, the AD commands are a little wonky about that. So in your case it's clearly not working. You could revert to ADSI, or the Quest cmdlets, as a backup.

  • #22343

    Participant
    Points: 5
    Published
    Rank: Member

    Hey LRuff,

    Just out of interest, was the Info attribute set initially programmatically or manually? And were there multiple lines?

  • #22598

    Participant
    Points: 1
    Rank: Member

    the way i get the info field is:
    get-aduser -filter * -properties info | select -expandproperty info

The topic ‘Exporting data from 'info' attribute (Notes field)’ is closed to new replies.