Powershell script to list users not on a distribution list
I have an Exchange 2007 server and am needing a powershell script to look at a distribution list with nested distribution lists inside of it and then export a csv of all the mailboxes not in this distribution list.
The DL looks similar to this:
dept1 directors office
dept2 directors office
dept 2 people