Category: Exchange and Exchange Online

Use -DeleteContent with Search-Mailbox in Exchange 2013
article #936, updated 3230 days ago

Search-Mailbox is a great method in Exchange 2013/365 to do searches, moves, cleanups, etc., but in Exchange 2013 one does have to have special privileges to use -DeleteContent, and they are not built-in. Info is here:

http://blogs.technet.com/b/exchange/archive/2010/03/26/3409621.aspx

Once you set up the permissions, you can delete all of the recoverable email (the emails deleted from Deleted Items still being held):

Search-Mailbox -Identity username -SearchDumpsterOnly -DeleteContent

To set up the permissions, do the below:

New-RoleGroup -Name "Exchange Mailbox Import Export" -Roles "Mailbox Import Export" -Members "<domain\groupname>" -DisplayName "Exchange Mailbox Import Export" -Description "This group will provide access to mailbox import and export cmdlets within entire Exchange Organization."

New-RoleGroup -Name "Exchange Support Diagnostics" -Roles "Support Diagnostics" -Members "<domain\groupname>" -DisplayName "Exchange Support Diagnostics" -Description "This group will provide access to support diagnostics cmdlets within entire Exchange Organization."

Categories:      

==============

Secondary email addresses with LAN-synched EOL
article #941, updated 3242 days ago

If one has one’s LAN Active Directory synchronized with EOL/Azure, one cannot add secondary email addresses in the EOL console. In this situation:

  1. Open ADSIedit from the domain controller
  2. Open up the OU containing the user
  3. Open the Properties of the user
  4. Open the Properties for the item “proxyAddresses”.
  5. The primary (the “reply”) email address for the user needs to be specified thus, with caps in the prefix:
    SMTP:user@domain.xyz
  6. Secondary email addresses for the user need to be specified thus, with lowercase prefix:
    smtp:alias@domain.xyz
  7. Then run the sync or wait for the automatic run, and it’s done!

Also, as a bonus, after the above is done once, user objects in Active Directory Users and Computers get a new tab, “Attributes”, from which the above can be done for other users.

Categories:      

==============

Exchange Mailbox Size Report
article #937, updated 3264 days ago

Here’s a great way to get one:

https://github.com/cunninghamp/Get-MailboxReport.ps1

Categories:      

==============

Give all users full delegation to a single Exchange account in PowerShell
article #933, updated 3268 days ago

When a business needs a truly public calendar simply editable by all, it is not clear what best to do in Exchange or especially Exchange Online. Shared mailboxes and room calendars look like they should do it but don’t. One way is to create an ordinary user mailbox and then give all users full delegation rights in Powershell:

Get-Mailbox | foreach-object { Add-MailboxPermission -Identity "Public Calendar" -User $_.SamAcc
ountName -AccessRights FullAccess }

The only catch is that this does require a license.

Categories:      

==============

Exchange address book, calendar, and email for Thunderbird - Bridge Exchange to IMAP
article #398, updated 3327 days ago

Try DavMail:

http://davmail.sourceforge.net

It runs in the background on server, desktop, or laptop (Windows, Linux, or Mac), and it translates native Exchange protocols into that which Thunderbird and appropriate add-ins handle very well. In other words, it acts as a live bridge between Exchange protocols and Thunderbird with Lightning, for contacts and calendar. The instructions are thorough and functional.

Categories:      

==============

Bypass firewall checking for Exchange Online data paths
article #899, updated 3339 days ago

If your firewall lets you bypass data checks by FQDN, this works well; just import this into an alias and use that as the “To” for a rule called ExchangeOnline, for ports 80 and 443:

*.office.com
*.office365.com
*.office.net
*.onmicrosoft.com
*.microsoftonline.com
*.microsoft.com
*.live.com
*.windows.net
*.microsoftonline-p.com
*.microsoftonline-p.net
*.microsoftonlineimages.com
*.msecnd.net
*.msocdn.com
*.glbdns.microsoft.com
*.activedirectory.windowsazure.com
*.verisign.com
*.symcb.com
*.symcd.com
*.omniroot.com
*.geotrust.com
*.entrust.net
*.public-trust.com

The above is condensed from here. It includes only Exchange Online, there are some other items to be added for other Office 365 services including Skype etcetera.

Categories:      

==============

Disable RTF (and WINMAIL.DAT) in Exchange Online and 2010
article #773, updated 3439 days ago

To disable Rich Text Format, and eliminate WINMAIL.DAT transmission, in Exchange Online:

  1. Log into https://outlook.office365.com
  2. Click the 3×3 matrix at the upper-left, click Admin
  3. Scroll down on the left side, open Admin if it’s not opened, click Exchange
  4. Under the heading Mail Flow, click Remote Domains
  5. Edit the item Default
  6. set “Use rich-text format”, to Never.

In Exchange 2010:

  1. Open the Exchange GUI console,
  2. Open Organization Configuration, Hub Transport, and the Remote Domains tab.
  3. Open the Properties of Default/*.
  4. Browse to the Message Format tab.
  5. Under “Exchange rich-text format”, choose “Never use”.

Categories:      

==============

Export Exchange public folders to PST
article #841, updated 3492 days ago

Here:

“https://technet.microsoft.com/en-us/library/Dn874017(v=EXCHG.150).aspx#PSTMigrate”

appears to be a method.

Categories:      

==============

Export mailboxes to PST from Exchange 2010
article #840, updated 3495 days ago

Procedure:

  1. Run Exchange command shell as administrator.
  2. Create one or more new export requests:
    New-MailboxExportRequest -Mailbox username -FilePath \\SERVER\SHARE\username.pst
  3. Check status of export request(s) in progress:
    Get-MailboxExportRequest
  4. Access PSTs after export is complete, at \\SERVER\SHARE.

Categories:      

==============

Create a Shared Mailbox in Exchange Online
article #805, updated 3599 days ago

Here is a GUI tool written in PowerShell:

http://community.office365.com/en-us/w/exchange/1712.aspx

Categories: