Category Archives: exchange 2010

Create a out of office board to show what people are on vaccation or called in sick #Exchange #Lync #Office365

This will be kind of hard to grasp for the rest of the world, but in July every year the entire country of Sweden is CLOSED!! I mean some shops are open but there is no real work being done in the offices, everyone is on holiday in Spain or something. I even had to walk like 30 minutes today to find a lunch restaurant that was open. I personally think this is insane, since its crazy cold and dark in December and like to go away on my holidays then and work in July when it’s warm and the sun is at least a bit alive.

Anyway, just a short tip from one of my customers on their setup on how they handle employees that call in sick and are on holiday.

Well it’s really simple, just call in to the Exchange 2010 Outlook Voice Access and set your out of facility message (or just set it via OWA or Outlook)


Then create an Out of Office Board by following this great post

PowerShell script to recover all deleted items in a mailbox

Dave Barrett has a script on the EMEA Messaging Developer Team Blog that solves a problem that a customer had today, somehow 2000+ emails that should be in the inbox and in various folders were found in the Recoverable Items folder or the “dumpster”.

I did search a while to find if there were someway to recover this via PowerShell and then found their blog.

From the description:

“We had a request recently for a sample PowerShell script that shows how to recover deleted items from and Exchange 2010 mailbox. While not possible (as far as I am aware) using any standard Exchange cmdlets, it is certainly possible using the EWS Managed API.
The script has been written so that it can be automated quite easily. The scenario that the script was originally requested for was to be able to run such a script against a large number of mailboxes where items had been mistakenly deleted. The script parameters are…”

Todays lesson learned–Exchange 2010 upgrade with Active Sync and MobileIron

Ok just a short post on this topic.

When upgrading from Exchange 2007 to Exchange 2010 you can let your E2010CAS redirect your users that are still hosted on the 2007 server to a legacy record. This will enable you to migrate over time and take it easy and just have a great and good time with your upgrade.

Well to make it short, IF you are using mobileiron or any other mobile device management system that takes over the active sync part. DO NOT, I repeat DON’T  run Set-ActiveSyncVirtualDirectory –ExternalURL or change the external EAS record in the ECP.

This is because the phones are so smart now days that they actually updates the server record to and tries to logon to that server. And guess what, well since they are managed by another system they will not be able to logon and you will loose them.

So if you did set your external url to something just run:
Get-ActiveSyncVirtualDirectory -Server Exchange2007CAS | Set-ActiveSyncVirtualDirectory -ExternalURL:$null

This will reset the automagically forward thing and just proxy the EAS instead. see this post for more info

And then reset their EAS server record via the MobileIron profile. And its all good again.

And one more thing, read through for some great info on EAS upgrades.

Installing SP2 on Exchange UM still requires you to uninstalling UM language pack first

My Friend Magnus has a great blogpost covering the steps for installing SP2 on Exchange 2010 that rtw´d today.

What is not covered is when UM is installed and it also has a language pack that is non English. What will happen when you try to update to sp2 is that the setup fails and you are prompted to uninstall the language packs before it can update to sp2. (yes I always forget this)


To fix this error close the setup and fire up Exchange management shell and uninstalling the UM language pack.

But don’t get fooled trying to just run just /RemoveUmLanguagePack:sv-SE from the prompt since this will fail and just give you a prompt back.


So what you need to do is to run the original and this is actually documented on TechNet 

“You can’t use the file that’s located in the \Bin folder to remove a UM language pack after you’ve installed any updates for Exchange 2010. You must use the file from the Exchange 2010 DVD or the downloaded source files. If you don’t, you’ll see the following error: There is a version mismatch between the running application and the installed application. “

Ok so find that old iso and mount it and then then try running /RemoveUmLanguagePack:sv-SE from it and you will se something different.


Ok when the UM language packs are uninstalled its time to update the Exchange to sp2, just follow Magnus guide for that.

And when SP2 is applied we have to install the language pack again, but the latest and greatest version that can be downloaded from

And to install it, just run /AddUmLanguagePack:sv-SE /s: d:\MyLocalFolder

(sv-SE could/should of course be switched to the language pack you are installing.)

Btw, I just saw that its now posible to just doubleclick the languagepack.exe file and then install via the gui


I am now a MCITP: Lync Server Administrator – #Lync #Exchange

So today I took three MCP´s first TS: Microsoft Exchange Server 2010, Configuring 70-662 and after that I had some time to do TS: Microsoft Lync Server 2010, Configuring 70-664 and that one went well and quite fast so I had some time left and did PRO: Microsoft Lync Server 2010, Administrator 70-665 as well.

All three certs went well. So I am now a MCITP: Lync Server Administrator

Next up (next week or so) is Pro: Designing and Deploying Messaging Solutions with Microsoft Exchange Server 2010 70-663

* it takes some time for the MCP site to update so the snapin is not showing the correct info yet. but you can have a look here for more info