title: Powershell script to list all users that have message delivery restrictions in exchange 2010
body: <pre><code>Get-Mailbox -Filter {AcceptMessagesOnlyFrom -ne $Null}
  </code></pre>
  
  <p>This code only return few users and it shows <code>ProhibitSendQuota</code>,
  I would like to return all users that have message delivery restrictions configured to accept messages from and reject messages from. </p>
  
  <p>*Additional info: the users are located in <code>sample.net/sample DIV OU/IDM_Users</code></p>