?
Solved

Configure other Exchange organization Powershell

Posted on 2014-08-22
6
Medium Priority
?
191 Views
Last Modified: 2014-08-22
When I want a list of a distribution group I can add this parameter: -Organization. But when I want to edit something for a distribution group I can't see this parameter.

Get-DistributionGroup -Organization companyx


So my question is how can I edit a distribution group for a specific organization? I want to disable sender authentication.
0
Comment
Question by:emieldmz
  • 4
  • 2
6 Comments
 
LVL 13

Expert Comment

by:Mark Galvin
ID: 40278612
Do you know the SMTP address of the group you are looking for? If so you could use:
Get-DistributionGroup | where {$_.PrimarySmtpAddress -like "*domain.com"}

the -Organization switch is used for Exchange 2010 Hosted system where there is no ESM GUI. The -Organization is then used to look at a particular hosted org.
0
 

Author Comment

by:emieldmz
ID: 40278627
Yes it is a hosted Exchange 2010 system. I can see the distribution groups when I type this command:
Get-DistributionGroup -Organization jilktransport

But now I want to edit this ditribution group to disable the option "sender authentication", but I can't specify a organization name. So the question is how can I do that?
0
 
LVL 13

Accepted Solution

by:
Mark Galvin earned 2000 total points
ID: 40278630
Have you tried something like:
Set-DistributionGroup -Identity "jilktransport\DLGroup" ?
0
What Security Threats Are We Predicting for 2018?

Cryptocurrency, IoT botnets, MFA, and more! Hackers are already planning their next big attacks for 2018. Learn what you might face, and how to defend against it with our 2018 security predictions.

 

Author Comment

by:emieldmz
ID: 40278632
Thanks that worked!
0
 
LVL 13

Expert Comment

by:Mark Galvin
ID: 40278637
Or you could run this:
Get-DistributionGroup | where {$_.RequireSenderAuthenticationEnabled -eq $True} | Set-DistributionGroup -RequireSenderAuthenticationEnabled $False

Which will set all DG.
0
 
LVL 13

Expert Comment

by:Mark Galvin
ID: 40278638
Sweet! glad it worked!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Stellar Exchange Toolkit: this 5 in 1 toolkit comes loaded with mega-software tool. Here’s an introduction to tools’ usage and advantages:
Measuring Server's processing rate with a simple powershell command. The differences in processing rate also was recorded in different use-cases, when a server in free and busy states.
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 video discusses moving either the default database or any database to a new volume.
Suggested Courses

862 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