Thursday 14 February 2013

ActiveSync will not connect to Exchange on Phone/Tablet

If you are not able to connect to your Exchange email via a mobile phone/tablet (I've seen this on Android and Windows phone), then the following should allow connection



  • Open the Active Directory Users and Computers and go to “View” and select “Advanced Features
  • Find the user who is not able to use the ActiveSync, and double-click him, and go to “Security” tab then click “Advanced"
  • Then check the check-box “Include inheritable permissions from this object’s parent” and click OK to close all the other windows
  • After this, the user should be able to connect to the server using ActiveSync on the mobile device

Tuesday 12 February 2013

VMware VMs appear unexpectedly on two Datastores


The most common reason for this that I have found is that I have mounted an ISO to a virtual machine (usually as CD drive). My ISO's reside on a vmfs volume.

Disconnect the CD drive by right clicking on the relevant VM and clicking on edit settings. You should see the following




Using Exchange Powershell to report on Mailbox Sizes


Here are some useful Exchange 2010 Powershell commands I use regularly to report on where users are filling up our Exchange Databases. 

(note 'MBX-SERVER' is your mailbox server name with the ' removed, "username" is the username and the quotes remain)

Database Size
Get-MailboxDatabase -Status | select name,databasesize,availablenewmailboxspace


Mailbox Size
Get-MailboxStatistics -Server 'MBX-SERVER' | Select DisplayName, ItemCount, TotalItemSize | Sort-Object TotalItemSize -Descending | Export-CSV C:\MailSize.csv
Drops to the csv on the C drive


Show top ten Mailbox folders with most Items on the Mailbox Server
Get-Mailbox –Server 'MBX-SERVER' -ResultSize Unlimited | Get-MailboxFolderStatistics | Sort-Object ItemsInFolder –Descending | Select-Object -First 10 | FT Identity,ItemsInFolder,FolderSize –Wrap


Top Ten folders in one users Mailbox by size
Get-Mailbox -Identity "username" -ResultSize Unlimited | Get-MailboxFolderStatistics -FolderScope All | Sort-Object FolderSize -Descending | Select-Object -First 10 | FT Identity,FolderSize,ItemsInFolder –wrap