Solved

Add proxyaddresses to Distribution Groups

Posted on 2010-11-19
7
1,325 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
  • 3
  • 3
7 Comments
 
LVL 25

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
Are your AD admin tools letting you down?

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.

 
LVL 49

Expert Comment

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

what error are you having
0
 
LVL 25

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 25

Expert Comment

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
A procedure for exporting installed hotfix details of remote computers using powershell
In this video we show how to create an email address policy 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 Mail Flow…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

785 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