Exchange Geek's Weblog

I'm a Geek!

Archive for November, 2011

Changing From Display Name of Full Mailbox Notifications

Posted by Milind Naphade on 29/11/2011

I am sure almost everyone of us have seen this at least once in the lifetime 🙂

One of our old days techies had this requirement of changing the From display name that is used by agents sending notifications about your mailbox size when it reaches the quota. Although you cannot edit the sender email address in this case you can indeed change the Display Name of this notification sender.

CAUTION: Steps involved in this post include using ADSIEDIT, wrong modifications to attributes can cause service stoppage. You should also check Microsoft’s supportability for this change.

Changing this includes changing the display name of the object in your transport configuration.

  1. Open ADSIEDIT
  2.  Navigate to CN=Transport Settings,CN=<Org Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=int
  3. In the right hand side pane locate the object named CN=MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e
  4. Right click on the object and select properties.
  5. In properties dialog box of MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e locate the attribute displayName
  6. Select displayName, click Edit button and enter the Display Name of your wish in the Edit Dialog box.

That is all you need to do. Users will see the name that you entered in the dialog box after you modify this and the AD replication completes.

Posted in Exchange 2007, Exchange 2010 | 2 Comments »

How to generate a report of full mailbox access

Posted by Milind Naphade on 14/11/2011


If you have gone through an ExRAP lately and have encountered this as an observation during operational interview you are definitely going to need this very small piece of powershell command.

$CreateStamp = Get-Date -UFormat %d_%m_%Y
Get-Mailbox -ResultSize Unlimited | Get-MailboxPermission | Where {$_.User.ToString() -ne “NT AUTHORITY\SELF” -and $_.IsInherited -eq $false} | Select Identity,User,@{Name=’Access Rights’;Expression={[String]::Join(‘, ‘, $_.AccessRights)}} | Export-Csv -NoTypeInformation -Path “C:\temp\Full_Mailbox_Access_Report_$CreateStamp.csv”



Posted in Exchange 2010, Exchange Server 2007 | 2 Comments »

Script to create new mailbox and set mailbox feature

Posted by Milind Naphade on 13/11/2011

Edit: This script can be downloaded from Microsoft Technet Gallery as well. Download is available at

Create Mailbox and Set-CASMailbox Features GUI Script


I wrote this script for one of our L1 support team where they create mailboxes manually. Lately, the customer where this team works wanted to the POP/IMAP services to be enabled and have the POP/IMAP access disabled on mailbox level.

Although doing so is not a big task, EMC / EMS put few limitations on you while performing both tasks together. As a result, you have to create a mailbox first and then set the mailbox features on it using EMC. If your L1 teams are well educated about how to use EMS then it might be a little easier for them. Unfortunately, mine one at this customer is not so well aware of powershell and its CLI 🙂

To help them out I decided to help them with a GUI that can handle these two tasks right at the time of mailbox creation itself. This is an initial version of this script and I am still working on adding few more features, and validations in it.

This is how the script window looks like:


Your feedback on this one will help improving it. So, please feel free to leave a comment or write to me.

Download this script from here 


Since WordPress does not allow more than specific file extensions the file is renamed to Create-Mailbox.pdf. After you download the file rename it to Create-Mailbox.ps1

This script will work only with Exchange 2010 and has to be executed from Exchange Management Shell only.

Posted in Exchange 2010 | 1 Comment »