Basic commands of Powershell related to Distribution List (DL)

  1. Get-DistributionGroupMember -Identity “” -ResultSize Unlimited | Select Name, PrimarySMTPAddress | Export-CSV “D:\Rajan-1145\Office365\members-of-dl.csv” -NoTypeInformation -Encoding UTF8
  2. Add-DistributionGroupMember -Identity “” -Member “”

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top