Check Exchange URLs via Management Shell

Prepping for coexistence or want to review the existing virtual directory URLs? To check all the URLs in an Exchange 2007 and newer environment use the following commands… ACTIVESYNC (EAS) Get-ExchangeServer | Get-ActiveSyncVirtualDirectory | fl Identity, *ternalurl*   AUTODISCOVER Get-ExchangeServer | Get-ClientAccessServer | fl Identity, *ternaluri*   EXCHANGE CONTROL PANEL (ECP) Get-ExchangeServer | Get-EcpVirtualDirectory |…

Set Retention Policies in Office 365 via PowerShell

Below is a list of useful commands we can use to view set retention policies on Office 365 mailboxes through Azure AD PowerShell.  Again, we will need to connect to the tenant using the Azure AD PowerShell module to make the setting changes. These same commands can be used within an Exchange 2013 environment as well. +++++ List all of the…