Solved

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

Posted on 2013-12-06
7
2,603 Views
Last Modified: 2013-12-09
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
Comment
Question by:ARM2009
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 30

Expert Comment

by:renazonse
ID: 39702522
You'll need to Import-Module ActiveDirectory and run a Set-Group -identity GROUPNAME -Description "Description"
0
 

Author Comment

by:ARM2009
ID: 39702528
you mean invoke within EMC? ...
0
 
LVL 30

Accepted Solution

by:
renazonse earned 225 total points
ID: 39702535
Nope. You need to import the ad module in the exchange Management she'll so you can modify the description with adgroup
0
Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

 
LVL 18

Expert Comment

by:suriyaehnop
ID: 39705124
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
 
LVL 4

Expert Comment

by:Pavel Nagaev
ID: 39705477
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
 

Author Comment

by:ARM2009
ID: 39706167
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
 
LVL 4

Expert Comment

by:Pavel Nagaev
ID: 39706190
The best way to use AD cmdlets from Microsoft, Import-module ActiveDirectory and so on...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now