{"id":81225,"date":"2016-12-25T11:59:35","date_gmt":"2016-12-25T19:59:35","guid":{"rendered":"https:\/\/blogs.technet.microsoft.com\/heyscriptingguy\/?p=81225"},"modified":"2019-02-18T09:10:16","modified_gmt":"2019-02-18T16:10:16","slug":"powertip-get-the-notes-field-when-accessing-users-or-groups-in-active-directory","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/scripting\/powertip-get-the-notes-field-when-accessing-users-or-groups-in-active-directory\/","title":{"rendered":"PowerTip: Get the Notes field when accessing users or groups in Active Directory"},"content":{"rendered":"<p><strong>Summary<\/strong>: Use the Active Directory Module to get the information from the \u201cNotes\u201d field.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/q-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Question\" \/>\u00a0I\u2019m trying to find the Active Directory property to use to access the <strong>Notes<\/strong> field when I\u2019m viewing a user or a group. Could you lend me a hand?<\/p>\n<p style=\"padding-left: 30px\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/a-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Answer\" \/> No problem at all. The property you are looking for is <code>info<\/code> and can be added when you use <code>Get-ADuser<\/code> or <code>Get-ADGroup<\/code>. I like to add <code>description<\/code> as well to pull in most of the descriptive details. Here is an example:<\/p>\n<p style=\"padding-left: 90px\"><code>Get-ADUser -filter * -properties info,description<\/code><\/p>\n<p style=\"padding-left: 90px\"><code>Get-ADGroup -filter * properties info,description<\/code><\/p>\n<p style=\"padding-left: 30px\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/7610.Dr.ScriptoForTips.jpg\" alt=\"The Doctor\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summary: Use the Active Directory Module to get the information from the \u201cNotes\u201d field. \u00a0I\u2019m trying to find the Active Directory property to use to access the Notes field when I\u2019m viewing a user or a group. Could you lend me a hand? No problem at all. The property you are looking for is info [&hellip;]<\/p>\n","protected":false},"author":596,"featured_media":87096,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[568,639,641],"tags":[56,356,154,45],"class_list":["post-81225","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hey-scripting-guy","category-powertip","category-windows-powershell","tag-guest-blogger","tag-powertip","tag-sean-kearney","tag-windows-powershell"],"acf":[],"blog_post_summary":"<p>Summary: Use the Active Directory Module to get the information from the \u201cNotes\u201d field. \u00a0I\u2019m trying to find the Active Directory property to use to access the Notes field when I\u2019m viewing a user or a group. Could you lend me a hand? No problem at all. The property you are looking for is info [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/81225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/users\/596"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/comments?post=81225"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/81225\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media\/87096"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media?parent=81225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/categories?post=81225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/tags?post=81225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}