Exporting data from 'info' attribute (Notes field)

Tagged: 

This topic contains 3 replies, has 4 voices, and was last updated by Profile photo of David Schmidtberger David Schmidtberger 1 year, 9 months ago.

  • Author
    Posts
  • #22341
    Profile photo of LRuff
    LRuff
    Participant

    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.

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

  • #22342
    Profile photo of Don Jones
    Don Jones
    Keymaster

    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
    Profile photo of Tim Pringle
    Tim Pringle
    Participant

    Hey LRuff,

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

  • #22598
    Profile photo of David Schmidtberger
    David Schmidtberger
    Participant

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

You must be logged in to reply to this topic.