OOF of Distribution List

Install Powershell module,

Install-Module PowershellGet -Force
Install-Module -Name ExchangeOnlineManagement
Connect-ExchangeOnline -UserPrincipalName admin@domain.com
Get-DistributionGroup -Identity "DL_Name" | Select SendOofMessageToOriginatorEnabled

Get-DistributionGroup -ResultSize 50000 -WarningAction Ignore | where { $_.SendOofMessageToOriginatorEnabled -eq "True" }

Last updated