Category Archives: Exchange

Exchange: Content index state failed

If you ever had problems with corrupt databases in an Exchange 2010 DAG setup you might have encountered this error. Trying to activate the database on a server where it has this state will fail. However there is a quite … Continue reading

Posted in Exchange, Microsoft, Powershell Tagged , , ,

Exchange: Activate Database Copy fails

After some exchange services failed on one of the nodes in our Exchange 2010 DAG we got some problems with one database. The database was mounted on server2 where it has an activation preference of 2. Trying to manually activate the … Continue reading

Posted in Exchange, Microsoft Tagged , , , ,

Function for locating an email address

Yesterday I was given a relatively easy task: find out who or what has a given email address. As this was within our own Exchange organization it proved to be quite simple: You can achieve the goal with a simple … Continue reading

Posted in Exchange, Microsoft, Powershell Tagged , , ,

Check if DAG databases is on preferred server

If you are using DAG in exchange 2010 for high availability on your mailboxes there may be one thing you might have noticed, the databases can fail over to a less preferred server at any time without you noticing. Microsoft … Continue reading

Posted in Exchange, Microsoft, Powershell Tagged , , ,

Mass import of users in Active Directory v2 – Powershell time

Earlier I posted a script that created users and homefolders and added the users to specified groups. It also set ntfs permissions on the homefolders. That script used primarily old fashioned stuff, so I sat down and started looking for … Continue reading

Posted in Active Directory, Exchange, Microsoft, Powershell Tagged , , ,

Install and configure Exchange 2010 using Powershell

In this guide I will show you how to install and configure a simple Exchange 2010 environment using no gui at all. Installing exchange 2010 without gui may seem kinda nerdy, but it’s quite useful for quickly setting up a … Continue reading

Posted in Exchange, Microsoft, Powershell Tagged , ,

Enable Resource Booking Attendant on all Room Mailboxes

The Resource Booking Attendant should be enabled on all your Room Mailboxes. If it is not, the room will not accept or decline incoming meeting requests. Which is somewhat the whole point right? Heres a powershell command to enable it … Continue reading

Posted in Exchange, Microsoft Tagged , , , ,

Editing permissions on all mailboxes in one command, Exchange 2010/2007

If you have some sort of 3rd-party application that needs access to all of your mailboxes, it can be a pain to set the permissions on all of your mailboxes. Except if you use this nice little powershell command: Get-Mailbox … Continue reading

Posted in Exchange, Microsoft Tagged , , ,

Receive connector allowing anonymous relay on exchange 2010/2007

Often it’s a good idea to have a receive connector allowing certain devices to send mail through you exchange server without having to authenticate. One example from where I currently work is printers. We never set up the printers ourselves, … Continue reading

Posted in Exchange, Microsoft Tagged , , ,

Activesync issue on Exchange 2010

At work we are currently migrating to a new active directory domain. The migration hos gone rather smoothly except for a couple of users who are not able to sync mail on their phones. After a little research I found … Continue reading

Posted in Exchange, Microsoft Tagged , , ,