Avatar of ARM2009
ARM2009
Flag for United States of America asked on

how to update "Description" field for a Distribution Group in Exchange 2010 via Pshell

trying to modify or set description on a Distribution Group via powershell in Exchange 2010.

i can set the notes field by "-notes" but can't find a way to set description...
PowershellExchange

Avatar of undefined
Last Comment
Pavel Nagaev

8/22/2022 - Mon
Britt Thompson

You'll need to Import-Module ActiveDirectory and run a Set-Group -identity GROUPNAME -Description "Description"
ARM2009

ASKER
you mean invoke within EMC? ...
ASKER CERTIFIED SOLUTION
Britt Thompson

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
suriyaehnop

If you use Exchange Management Shell to Set-User, below in only available attributes that you can perform:

ToString
Validate
AllowUMCallsFromNonUsers
AssistantName
City
Company
CountryOrRegion
Department
DirectReports
DisplayName
DistinguishedName
ExchangeVersion
Fax
FirstName
Guid
HomePhone
Identity
Initials
IsSecurityPrincipal
IsValid
LastName
Manager
MobilePhone
Name
Notes
ObjectCategory
ObjectClass
Office
OriginatingServer
OtherFax
OtherHomePhone
OtherTelephone
Pager
Phone
PhoneticDisplayName
PostalCode
PostOfficeBox
RecipientType
RecipientTypeDetails
ResetPasswordOnNextLogon
SamAccountName
Sid
SidHistory
SimpleDisplayName
StateOrProvince
StreetAddress
TelephoneAssistant
Title
UMDialPlan
UMDtmfMap
UserPrincipalName
WebPage
WhenChanged
WhenCreated
WindowsEmailAddress

As per renazonse, you to use Active Directory module. What AD operating system that you running, Windows 2008 R2?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Pavel Nagaev

Field Notes is an AD attribute, but not MS Exchange, that is why you can't change it using just EMS.

You can change it using AD cmdlets as renazonse has written above.
ARM2009

ASKER
as mentioned by Renazonse i did the following...

New-DistributionGroup .....

then added

 Add-PSSnapin "Quest.ActiveRoles.ADManagement"

then

Set-QADGroup -Identity "name" -Description "Description"

worked well.
Pavel Nagaev

The best way to use AD cmdlets from Microsoft, Import-module ActiveDirectory and so on...
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.