Configure other Exchange organization Powershell

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.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark GalvinManaging Director / Principal ConsultantCommented:
Do you know the SMTP address of the group you are looking for? If so you could use:
Get-DistributionGroup | where {$_.PrimarySmtpAddress -like "*"}

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.
emieldmzAuthor Commented:
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?
Mark GalvinManaging Director / Principal ConsultantCommented:
Have you tried something like:
Set-DistributionGroup -Identity "jilktransport\DLGroup" ?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

emieldmzAuthor Commented:
Thanks that worked!
Mark GalvinManaging Director / Principal ConsultantCommented:
Or you could run this:
Get-DistributionGroup | where {$_.RequireSenderAuthenticationEnabled -eq $True} | Set-DistributionGroup -RequireSenderAuthenticationEnabled $False

Which will set all DG.
Mark GalvinManaging Director / Principal ConsultantCommented:
Sweet! glad it worked!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.