Unable to get members of Universal Distribution List using Powershell

Posted by PowerShellScripter on Stack Overflow See other posts from Stack Overflow or by PowerShellScripter
Published on 2009-06-30T16:52:32Z Indexed on 2010/05/14 11:04 UTC
Read the original article Hit count: 286

I am trying to write a script to list out all members of a "Universal Distribution List" using Powershell. However I keep getting an empty result set back.

When I run the following command against a "Global Distribution List" it works fine and I can see who belongs to it. dsquery group -name "SomeGroup" | dsget group -members -expand

However as I mentioned when I run this against a "Universal Distribution List" I get no results. Can anyone help?

© Stack Overflow or respective owner

Related posts about powershell

Related posts about distribution-list