Category: Exchange

Increase the maximum MAPI session limit from 32 concurrent to 5000 concurrent

Outlook 2013 works differently, but Legacy clients need modifications to server side. In Exchange 2013: Create Throttling Policy and apply it to all mailboxes:

Then add registry key (below is for 5000 concurrent connections): [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem]”Maximum Allowed Sessions Per User”=dword:00001388…

Continue Reading Increase the maximum MAPI session limit from 32 concurrent to 5000 concurrent

get-aduser old mail-attribute and set-aduser to a new one and keeping the old prefix.

So you have generated users in your ad that you want to move to Office 365. Before you dirsync the user to the Cloud you can change mail-attribute. But after the user in synced to Office365 you cannot do this…

Continue Reading get-aduser old mail-attribute and set-aduser to a new one and keeping the old prefix.

Export biggest mailbox users with attributes to csv!

This is how: Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Select DisplayName,servername,database,StorageLimitStatus, @{name=”TotalItemSize (MB)”;expression={[math]::Round((($_.TotalItemSize.Value.ToString()).Split(“(“)[1].Split(” “)[0]. Replace(“,”,””)/1MB),2)}},@{name=”TotalDeletedItemSize (MB)”;expression={[math] ::Round((($_.TotalDeletedItemSize.Value.ToString()).Split(“(“)[1].Split(” “)[0]. Replace(“,”,””)/1MB),2)}},ItemCount,DeletedItemCount | Sort “TotalItemSize (MB)”  -Descending | Export-CSV “C:dirAll Mailboxes_120814.csv” -NoTypeInformation Love it!

Continue Reading Export biggest mailbox users with attributes to csv!

Exchange 2010 – Purge Deleted Items before retention limit kicks in.

Get all users Deleted Items size: Get-MailBox | Get-MailboxStatistics | select DisplayName,TotalDeletedItemSize Get a specific users Deleted Items Size: Get-MailboxStatistics <alias> | select DisplayName,TotalDeletedItemSize Purge All Users Deleted Items: get-mailbox | Search-mailbox -SearchDumpsterOnly -DeleteContent Purge a specific users Deleted Items:…

Continue Reading Exchange 2010 – Purge Deleted Items before retention limit kicks in.

How to set Exchange AutodiscoverVirtualDirectory Url’s to Empty

Do you know this …no? Well, neither did I. So here goes. Set-AutodiscoverVirtualDirectory -Identity ‘autodiscover (default Web site)’ -internalUrl ($null) -externalUrl ($null) That wasn’t hard, was it? 🙂

Continue Reading How to set Exchange AutodiscoverVirtualDirectory Url’s to Empty

Lync and Exchange Web Services (EWS) and different DNS Domains- Exchange crawling e.g. for presence

Source: http://lyncuc.blogspot.fi/2013/01/lync-and-exchange-web-services-ews-and.html there is always confusion in how Lync is crawling Exchange Web Services (EWS). Generally it is necessary to understand how DNS must be implemented: Just remember, identify if you have DNS Split configuration, different internal and external DNS…

Continue Reading Lync and Exchange Web Services (EWS) and different DNS Domains- Exchange crawling e.g. for presence

Migrate two different Exchange forest with the same netbios name to Office 365 with dirsync.

Our customer has two forests. And they have the same netbios name. So no forest trust then. One of them with users and computers and the other with different usernames and their mailboxes. The dilemma is to migrate them to…

Continue Reading Migrate two different Exchange forest with the same netbios name to Office 365 with dirsync.

SMTP high availability with one ip address

We have a customer that needed to migrate from Exchange 2010 to Exchange 2013 and keep the old ip-address in place for smtp traffic from inside and outside. In clustered Exchange 2010 and 2013 the Primary Active Manager has the…

Continue Reading SMTP high availability with one ip address

Add SIP address to all users in certain OU

This situation may come true if you have Onpremises Exchange and Online tenant Lync. Then you need to add a SIP address with the same name as the user is in the Online tenant. And here’s the script: $mailboxes =…

Continue Reading Add SIP address to all users in certain OU

Exchange 2010 sp3 RU5 and Online tenant Hybrid

We had a customer with multiple smtp domains at onpremise Exchange. 1. First you need to add them to authorized domains in Office 365 control panel. 2. Add the given txt -records to public dns. 3. Go back to Office…

Continue Reading Exchange 2010 sp3 RU5 and Online tenant Hybrid