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

Doctor Scripto

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

1 comment

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

  • Jean-Claude AskMe 0

    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.
     

Feedback usabilla icon