• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3750
  • Last Modified:

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...
0
ARM2009
Asked:
ARM2009
  • 2
  • 2
  • 2
  • +1
1 Solution
 
Britt ThompsonSr. Systems EngineerCommented:
You'll need to Import-Module ActiveDirectory and run a Set-Group -identity GROUPNAME -Description "Description"
0
 
ARM2009Author Commented:
you mean invoke within EMC? ...
0
 
Britt ThompsonSr. Systems EngineerCommented:
Nope. You need to import the ad module in the exchange Management she'll so you can modify the description with adgroup
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
suriyaehnopCommented:
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?
0
 
Pavel NagaevLead email system administratorCommented:
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.
0
 
ARM2009Author Commented:
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.
0
 
Pavel NagaevLead email system administratorCommented:
The best way to use AD cmdlets from Microsoft, Import-module ActiveDirectory and so on...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now