Quantcast
Channel: Exchange Server 2010 forum
Viewing all articles
Browse latest Browse all 19214

Get-mailboxfolderstatistics returns error Operation is not valid due to the current state of the object

$
0
0

My issue is very similar to the question posted previously.

http://social.technet.microsoft.com/Forums/br/exchange2010/thread/94c1c7d3-3902-49d0-b5da-ec7dffc6f9dc

From the standard powershell window with the Exchange 2010 snap in installed. I am trying to run the following command.

Get-Mailbox username | Get-MailboxFolderStatistics -folderscope inbox

However it returns the same error message as the question i referenced above. 

WARNING: An unexpected error has occurred and a Watson dump is being generated: Operation is not valid due to the current state of the object.
Get-MailboxFolderStatistics : Operation is not valid due to the current state of the object.

In the closed question above it looks like the culprit might have been Powershell V3 however I do not have powershell V3 installed.

I ran the $PSversiontable command to list the powershell versions installed and below was the output.

Name                           Value
----                           -----
CLRVersion                     2.0.50727.5466
BuildVersion                   6.1.7601.17514
PSVersion                      2.0
WSManStackVersion              2.0
PSCompatibleVersions           {1.0, 2.0}
SerializationVersion           1.1.0.1
PSRemotingProtocolVersion      2.1

Im not sure where else to look and a google search only returned the previously mentioned technet article.

Any help is appreciated.


Viewing all articles
Browse latest Browse all 19214

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>