December 25th, 2016

PowerTip: Get the Notes field when accessing users or groups in Active Directory

Doctor Scripto
Scripter

Summary: Use the Active Directory Module to get the information from the “Notes” field.

Hey, Scripting Guy! Question I’m trying to find the Active Directory property to use to access the Notes field when I’m viewing a user or a group. Could you lend me a hand?

Hey, Scripting Guy! Answer No problem at all. The property you are looking for is info and can be added when you use Get-ADuser or Get-ADGroup. I like to add description as well to pull in most of the descriptive details. Here is an example:

Get-ADUser -filter * -properties info,description

Get-ADGroup -filter * properties info,description

The Doctor

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

1 comment

Discussion is closed. Login to edit/delete existing comments.

  • Jean-Claude AskMe

    Is this the case with multiple version of powershell?
    From within Powershell_ISE:I am seeing on one host in one domain that the INFO field appears, yet same command on the second host (second domain, different account), the fields are not present even after adding INFO to the properties.