Powershell script for get-distributiongroup "MailNonUniversalGroup" and update

jbla9028 used Ask the Experts™
Anyone know how to format the command get-distribution groups so that I can get a list of any distribution list in my exchange org that is a MailNonUniversalGroup?

when running the command  
get-DistributionGroup -Identity '%Distribution Group' | Format-List

there's a property labeled below that I need to get a list of this value.

RecipientTypeDetails                   : MailNonUniversalGroup  

If possible if there's a command to take this list and change it to, that would be awesome too.

RecipientTypeDetails                   : MailUniversalDistributionGroup
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
There's a parameter built into the command:

Get-DistributionGroup -RecipientTypeDetails MailNonUniversalGroup

Open in new window

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial