Find Exchange Mailboxes with Automatic Email Address Policy set to $False

How to Find all User Mailboxes with Auto Email Address Policy Removed.

Let’s have a look at what the settings in Exchange Management Console looks like.

Let’s start by running a quick one liner to search for all these users.

Next we can see the results output

That was a quick one liner ,but I have an issue the results displayed is not what I want to see . So let’s change the results Output from our one liner.

The Output results that I am looking for is : DisplayName,PrimarySmtpAddress,SamAccountName,EmailAddressPolicyEnabled

Let’s run again and see what we get

That is more like it 🙂

So if you want to Export the Results you can do the following : Out-File -Path “C:\export\EmailPolicy.txt”

Happy Emailing and use #PowerShell 🙂

Sharing is caring!

Previous articleRename Server using #Powershell
Next articleFind Disconnected Mailboxes Exchange 2013
About Me ? I Guess i would start by saying i am a family guys and full time SysAdmin and Tech Junky. This Blog is my first attempt to share information about daily issues i come across as a SysAdmin as well as some new deployments i am part of. Topics that i will cover will mostly be about Office 365,Windows,Exchange as well as Active Directory. I hope some of my Blog posts helps someone #LiveLongAndBeLazy #Exchange #Office 365 #ActiveDirectory #Hyper-V


Please enter your comment!
Please enter your name here