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

The Scripting Guys

Dr 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

The Scripting Guys
Dr Scripto

Follow Dr Scripto   

1 Comments
Avatar
Jean-Claude AskMe 2019-03-06 06:21:53
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.