Windows

Office 365


Exchange & VMware

Office365 PowerShell 3F7B65B7
Exchange

Get empty DL and delete them

How to get all distributions list on your organization which is empty using Powershell? You have to use the following command: Get-DistributionGroup | Where-Object { (Get-DistributionGroupMember –identity $_.Name).Count –eq 0 } | select PrimarySmtpAddress | export-csv C:\EmptyDL.csv By the […]



Follow on Facebook