ARM2009
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...
i can set the notes field by "-notes" but can't find a way to set description...
You'll need to Import-Module ActiveDirectory and run a Set-Group -identity GROUPNAME -Description "Description"
ASKER
you mean invoke within EMC? ...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you use Exchange Management Shell to Set-User, below in only available attributes that you can perform:
As per renazonse, you to use Active Directory module. What AD operating system that you running, Windows 2008 R2?
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?
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.
You can change it using AD cmdlets as renazonse has written above.
ASKER
as mentioned by Renazonse i did the following...
New-DistributionGroup .....
then added
Add-PSSnapin "Quest.ActiveRoles.ADManag ement"
then
Set-QADGroup -Identity "name" -Description "Description"
worked well.
New-DistributionGroup .....
then added
Add-PSSnapin "Quest.ActiveRoles.ADManag
then
Set-QADGroup -Identity "name" -Description "Description"
worked well.
The best way to use AD cmdlets from Microsoft, Import-module ActiveDirectory and so on...