Hello,
We are in the process of migrating from 2010 to 2013. I moved the admin account to 2013 and tried to run a command I have in a script that was running just fine in 2010 but in 2013 I am getting the below error. Is this expected? We have Exchange 2013 CU12 and Exchange 2010 SP3. I am trying to run this command from and exchange 2013 MBX/CAS server. Also, I am using the same account I have been using with admin rights.
Get-mailbox E2k10user | Get-MailboxFolderStatistics | select name
Unable to retrieve mailbox folder statistics for mailbox
ad.domain.net/users/e2k10user. Failure: Error code -2146233088
occurred with message The mailbox of user e2k10user@domain.com that is located on a server that is running version 14 can't be opened on a server that is running version 15..
+ CategoryInfo : ReadError: (:) [Get-MailboxFolderStatistics], MailboxFolderStatisticsException
+ FullyQualifiedErrorId : [Server=ex2013server,RequestId=2c5adcc7-983a-4d93-aed2-c1deb625b435,TimeStamp=6/20/2016 7:
19:57 PM] [FailureCategory=Cmdlet-MailboxFolderStatisticsException] B5E2CDEB,Microsoft.Exchange.Management.Tasks.G
etMailboxFolderStatistics
+ PSComputerName : ex2013server.ad.domain.net
The same command running against a 2013 mailbox works fine.
Get-mailbox E2k13user | Get-MailboxFolderStatistics | select name