Microsoft Exchange
Anything interesting and related to Microsoft Exchange
-
E-mail address strikethrough in Exchange 2007
We had a problem when our provisioning system would not update the “managed by” property for a distribution list. Further investigation showed that the distribution list’s e-mail address had a strike through like this: (Seen in the DL’s properties using EMC) email@company.com We could not add a new smtp address to the group nor delete the current address. We then opened ADSIedit to have a more in depth look. We then noticed that the SMTP address in proxyAddresses had a space before the @ in the SMTP address. We rectified that and the strikethrough disapeared. We made the changes and managed to provision the DL without any problems.
-
Deleting disconnected Mailboxes in Exchange 2007
Purging disconnected mailboxes in Exchange 2003 was quick and easy. With Exchange 2007 you need to use the Exchange Management Shell to purge/delete the disconnected mailboxes. Below are some examples on how to delete disconnected mailboxes in Exchange 2007. Make sure that you need to delete the disconnected mailboxes as it’s easier to reconnect a disconnected mailbox if a user account and mailbox got deleted by accident. Delete a specific disconnected mailbox: 1. Get-MailboxDatabase (this will show you the database names) 2. Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid (view the user’s GUID here) 3. Remove-Mailbox -Database “Type Your Database Name Here“ -StoreMailboxIdentity Type the Users Mailbox GUID Here -confirm:$false…
-
Export mailbox sizes in Exchange 2010 using Exchange Management Shell
Thought I’d share two scripts today. I use both daily to export mailbox sizes to a csv file for reporting purposes. These scripts will export the following: User Display Name, Database where the mailbox is homed ,the mailbox’s Total Item Size, Item Count in the mailbox and the Storage Limit Status Export a report on mailbox sizes on a specific server: Get-Mailbox –Server the server name –ResultSize Unlimited | Get-MailboxStatistics | Select-Object DisplayName, Database, TotalItemSize, ItemCount, StorageLimitStatus | Sort TotalItemSize, -Ascending | Export-CSV driveletter:\foldername\reportname.csv Export a report for mailboxes homed on all your mailbox servers: Get-ExchangeServer -Domain your domain name | Get-MailboxStatistics | sort TotalItemSize -Descending | select DisplayName, Database, StorageLimitStatus,…
-
Export all mailboxes from a Database to pst – Exchange 2010
I have been tasked to export all mailboxes on an Exchange 2010 environment to pst. The reason for this is to provide Mimecast with the mailbox data to ingest into the clients archive that is hosted within Mimecast. We enable journaling on Exchange but need to ingest all mail that was sent and received before journaling was switched on. Note that you need to have Exchange 2010 SP1 installed to run the below. The mailbox export request is processed by the CAS server role. The path to the folder that you export to needs to be an UNC path, pointing to shared local folders won’t work. Make sure you have…
-
Out of Office not working – Using Exchange Autodiscover Redirect
Had an interesting one today with a bit of a lesson at the end of the article. Scenario: Users are able to connect to Exchange with Outlook, send and receive mails etc. Users are however unable to set up their Out of Office using Outlook but they are able to set it using Outlook WebApp. We have a hybrid Exchange environment with 2010 and 2007 CAS servers. In the back-end we are running an Exchange 2007 CCR Cluster. Past troubleshooting with regards to Out of Office not working has taught me to check and test autodiscover. I bet that the OAB is also not downloading? I ran the normal checks…
-
Meeting requests sent to a room mailbox, replaces the Subject, with the Senders name
We received a call today where a meeting request sent to a Room mailbox shows the meeting organiser’s name in the subject line. This can be rectified by running the following: Exchange 2010/2013: Set-CalendarProcessing -identity “meeting room name” -DeleteComments $true -AddOrganizerToSubject $true -DeleteAttachments $true -DeleteSubject $true Exchange 2007: set-mailboxcalendarsettings -identity “meeting room name” -deletesubject $false -addorganizertosubject $false Hope this makes your life a bit easier.
-
Exchange 2010 Backups fail with Replica Writer Error
We had a backup fail this week with an error stating something to the lines of Exchange Writer is in a failed state. After some digging around I found that the Microsoft Exchange Replica Writer was in a failed state. To check the writers do the following: Open the command prompt on the Exchange server where the backup is failing. (In my case the server with the passive copies) In the command prompt type: vssadmin list writers and hit enter. You will now see a list of all the writers with their current state. The picture below shows the writer in the failed state. To resolve this issue I had…
-
When installing Exchange 2010 you receive “The start mode for the Net. TCP Port Sharing service must be set to Automatic before Setup can continue”
During my lab testing and installing Exchange Server 2010 on Windows Server 2008 R2 I keep receiving this pre-requisite that fails. The start mode for the Net. TCP Port Sharing service must be set to Automatic before Setup can continue. As far as I know (I might be wrong) this pre-requisite only fails the readiness check on Windows Server 2008 R2. In order to set the Net.TCP Port Sharing Service to Automatic at start-up do the following: Open Power Shell on the Windows 2008 R2 Server that you are trying to install Exchange 2010. Type: Set-Service NetTcpPortSharing -StartupType Automatic Hit enter. Run the Exchange installation wizard again and you should be…
-
Outlook Web Access not displaying correctly when using IE 10 and Exchange 2003
Tonight I was busy patching my servers for the monthly scheduled patch cycle and tested Outlook Web Access from my home PC. I received the results below. After almost having a miniature heart attack, I tested Outlook Web Access from my work laptop (IE 8) and home PC using Chrome. OWA displayed and functioned correctly as expected. I then checked the IE versions. Home PC = IE 10 (Recently upgraded) Work Laptop = IE 8 After a quick search on the internet I found an article by Pete Long who posted a work around on his blog. It seems like IE 10 is…
-
User is unable to access his mailbox using Outlook WebApp or with the Outlook client
We had quite a mind twister yesterday with a user that was unable to access his mailbox using his Outlook client nor Outlook WebApp. Some history on this issue: We have a 3rd party company migrating the users to our Exchange systems. This means that some duplicate accounts are being migrated to our Active Directory environment. The duplicate accounts obviously started confusing people and some tech’s deleted wrong accounts and mailboxes etc. Overall it got quite messy a few times. A lot of “decryption of information” is done by the time the incidents reaches my team. This particular problem was quite interesting because we asked the desktop engineer to access Outlook WebApp to test if…