Avatar of MilesLogan
MilesLoganFlag for United States of America asked on

Powershell - Updating Notes field to multiple groups

Can anyone assit me in updating the Notes field to multiple grups in Active Directory ?
Groups are in different OUs .

Since its multiple groups , Ideally I would like to enter the group names in to a text file.
PowershellActive DirectoryWindows Server 2003

Avatar of undefined
Last Comment
sirbounty

8/22/2022 - Mon
Subash Sundharan

Do you mean updating the description field?
ASKER
MilesLogan

no .. the Notes field at the bottom in the General tab
ASKER CERTIFIED SOLUTION
Subash Sundharan

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
MilesLogan

that works great ! Any way to add new data and keep the old data there ?
Your help has saved me hundreds of hours of internet surfing.
fblack61
Subash Sundharan

Try..
GC C:\group.txt | % {
$info = "EE Rocks!!"+" - "+$((Get-ADGroup $_ -Properties Info).Info)
Set-ADGroup $_ -replace @{info=$info}
}

Open in new window

ASKER
MilesLogan

@{info="SubSun Rocks!!"}}
Subash Sundharan

:-)
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
sirbounty