Solved

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

Posted on 2013-12-06
7
2,511 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

The curse of the end user strikes again      

You’ve updated all your end user’s email signatures. Hooray! But guess what? They’re playing around with the HTML, adding stupid taglines and ruining the imagery. Find out how you can save your signatures from end users today.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
In this video we show how to create a Distribution Group 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 Recipients >>…
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…

747 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

14 Experts available now in Live!

Get 1:1 Help Now