Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Add proxyaddresses to Distribution Groups

Posted on 2010-11-19
7
Medium Priority
?
1,470 Views
Last Modified: 2012-05-10
Hi all,

I try to add additionnal proxyaddresses to Distribution group but nothing happens and i have no error. My command is:


Get-QADgroup -Service 'DC:389' -Identity "groupName" | Add-QADProxyAddress -Address 'addresse' -Type SMTP

Can you help me
0
Comment
Question by:makanzore
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 26

Expert Comment

by:Tony J
ID: 34171269
Get-QADgroup is added by Quest's Activeroles Management Shell for AD, not native PowerShell commands - I assume you've added this?

http://www.quest.com/powershell/activeroles-server.aspx

Not sure if this will work, as I'm taking it from the manual (I don't have the tools installed):

$pw = read-host "Enter password" -AsSecureString

connect-QADService -service 'server.company.com:389' -ConnectionAccount 'company\administrator' -ConnectionPassword $pw

Get-QADgroup -Identity 'groupName' | Add-QADProxyAddress -Address 'address' -Type SMTP

Or possibly just Get-QADGroup 'Group' | Add-QADProxyAddress -Address 'smtp:address2@company.com'




0
 
LVL 49

Accepted Solution

by:
Akhater earned 2000 total points
ID: 34171400
I am not sure I understood your request you just want to add an smtp address for the group ??

$DG = Get-DistributionGroup DGName
$DG .emailAddresses += "smtp:test123@domain.com"
Get-DistributionGroup DGName -emailAddresses $DG.emailAddresses
0
 

Author Comment

by:makanzore
ID: 34171404
The two solution don't work
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 49

Expert Comment

by:Akhater
ID: 34171408
my solution works I use it everyday

what error are you having
0
 
LVL 26

Expert Comment

by:Tony J
ID: 34171421
I think he meant my two, Akh
0
 
LVL 49

Expert Comment

by:Akhater
ID: 34171427
sorry my bad i have a typo the last one should be set-DistributionGroup

$DG = Get-DistributionGroup DGName
$DG .emailAddresses += "smtp:test123@domain.com"
Set-DistributionGroup DGName -emailAddresses $DG.emailAddresses
0
 
LVL 26

Expert Comment

by:Tony J
ID: 34171438
Lol...you are welcome, makanzore.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
I don't pretend to be an expert at this, but I have found a few things that are useful. I hope that sharing them here will help others, so they will not have to face some rather hard choices. Since I felt this to be a topic of enough importance and…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

722 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