# OOF of Distribution List

{% embed url="<https://social.technet.microsoft.com/Forums/msonline/en-US/e1c0180b-d0a4-4279-9405-9f588608186b/autoreply?forum=onlineservicesexchange>" %}

Install Powershell module,

<pre class="language-powershell" data-overflow="wrap"><code class="lang-powershell">Install-Module PowershellGet -Force
Install-Module -Name ExchangeOnlineManagement
Connect-ExchangeOnline -UserPrincipalName admin@domain.com
Get-DistributionGroup -Identity "DL_Name" | Select SendOofMessageToOriginatorEnabled
<strong>
</strong><strong>Get-DistributionGroup -ResultSize 50000 -WarningAction Ignore | where { $_.SendOofMessageToOriginatorEnabled -eq "True" }
</strong></code></pre>
