Solved

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

Posted on 2013-12-06
7
2,694 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
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 Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

805 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