Solved

Add proxyaddresses to Distribution Groups

Posted on 2010-11-19
7
1,390 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 Johncock
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 500 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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 Johncock
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 Johncock
ID: 34171438
Lol...you are welcome, makanzore.
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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