none
EOL, Export All Distribution Group (with A Certain Name in it) and their Members to CSV

    שאלה

  • Can someone help me spin up a quick script/command that will export all DistoGroups (That contains the word "MARAD" in it) and their members and export to csv file .

    This one will only do it by assigning the name. The issue is that we have over 1000 DistroGoups for that department with the name MARAD in it. 

    Get-DistributionGroupMember -Identity MARAD | Select Name, PrimarySmtpAddress | Export-csv C:\Temp\testmembers.csv -NoTypeInformation

    Thanks

    STE


    Stephen Ellis

    יום שני 11 יוני 2018 17:56