Exchange 2010

BleachBit’s claim of permanently deleting emails from Exchange

In a recent news segment featuring BleachBit, Fox Business questioned whether Democratic presidential nominee Hillary Clinton may have used the software to permanently delete emails from her mail server. The segment features BleachBit lead developer Andrew Viem. Politics and click bait headlines aside, readers will find the claims interesting. How to delete secret emails from […]

More →

Use a PowerShell function to find an email address in Exchange

Exchange admins frequently need to find an Exchange recipient with a specified email address, particularly for generic organizational addresses such as [email protected]. Five and a half ways to find an email address in Microsoft Exchange and Active Directory lists a few ways to do it, including PowerShell. If you do this frequently, you can add […]

More →

Use a PowerShell function to get AutoDiscover XML

If you manage Exchange or support Exchange Online users, you may need to retrieve the AutoDiscover XML response. You can use the Test E-mail AutoConfiguration option in Outlook or the AutoDiscover tests in Microsoft Remote Connectivity Analyzer to retrieve the AutoDiscover response. The good news is you can also use a PowerShell one-liner or function […]

More →

Archiving auto-forwarded messages in Exchange Online and Exchange Server

Microsoft Exchange can now preserve automatically forwarded messages if user is placed on Litigation Hold or In-Place Hold. Over the last few years, the Information Protection team has done a great job of implementing Compliance features in Exchange (and Office 365) such as Litigation Hold and In-Place Hold to preserve messages, eDiscovery to search and […]

More →

Disable automatic email forwarding in Office 365 and Exchange Server

Exchange Server and Exchange Online allow your users to automatically forward email to an external email address. Over the years, I’ve written about forwarding email to an external email address in Exchange, the risks of forwarding work email to personal email accounts and listing users with email forwarding enabled. Figure 1: Automatic email forwarding options […]

More →

Synchronize your PowerShell Profile with OneDrive

I make frequent changes to my PowerShell profile and like to have the same PowerShell envirnoment on all computers that I use PS from. To accomplish this, I used to copy the PowerShell profile to a folder on OneDrive and copy it back to the WindowsPowerShell folder on other computers – first, manually, and then […]

More →

Change mailbox audit logging age limit in Exchange 2010 and later

In Exchange 2010 and later, you can use Mailbox Audit Logging to enable auditing of mailboxes for actions taken by mailbox owners, delegates and administrators. You can log events such as mailbox access, folder access, item access, deletes, hard deletes, moves, etc. For details, see Mailbox Audit Logging in Exchange 2013 documentation. By default, mailbox […]

More →

Remove a mobile device from your Exchange account

Most users switch to new mobile devices or add new ones. Over a period of time, your Exchange mailbox may have quite a few mobile devices. If you’re not using a smartphone or other Exchange ActiveSync (EAS) device (including Windows 8/Windows RT tablets, Apple iPad or other iOS devices), you can remove it from your […]

More →

WMF 3.0, Microsoft Exchange and patch management

Last week Microsoft released Windows Management Framework 3.0, a key management component that includes WinRM 3.0 and Windows PowerShell 3.0. If you’ve been running a version of Exchange 2007 or later, you may already know that these components (PowerShell for Exchange 2007, and both WinRM 2.0 and PowerShell 2.0 for Exchange 2010) are prerequisites for […]

More →

Create bulk mailboxes in Exchange 2010 (or Exchange 2013/Exchange 2007)

I used to save code snippets as blog posts earlier. Resuming the practice, so don’t be alarmed by lack of text in this post. If you want to see detailed posts about creating bulk mailboxes, check out these previous posts: Bulk mailbox-enabling users using Exchange Shell in Exchange 2010 and Exchange 2007 Exchange Server 2007: […]

More →