Thomas' Tech Talk

Just Can't Get Enough Of IT

The local machine is not an Exchange server

Filed under: Exchange Server — Thomas Stensitzki at 4:00 pm on Thursday, July 16, 2020  Tagged ,

While trying to get public folder statistics on an Exchange 2007 server I came across the following error: The local machine is not an Exchange server.

Screenshot - The local server is not an Exchange Server


Get-PublicFolderStatistics : The local machine is not an Exchange server. Please specify the name of a Mailbox server.
At line:1 char:75
+ Get-PublicFolder “\PUBLICFOLDER” -Recurse | Get-PublicFolderStatistics <<
+ CategoryInfo          : NotSpecified: (0:Int32) [Get-PublicFolderStatistics], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : AFC2C5CC,Microsoft.Exchange.Management.MapiTasks.GetPublicFolderStatistics


In this case, the solution was pretty simple. I tried to fetch the public folder statistics on the passive node of the cluster. Even though the Exchange cmdlet Get-PublicFolder “\FOLDER” –Recurse was executed successfully, receiving the public folder statistics failed.

Executing the same query on the active node was successful.


Enjoy Exchange Server.



This post was previously published on my legacy SF-Tools blog.
Original publishing date: 2015-02-28

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>