Solved

Missing public folders in get-publicfolderstatistics result.

Posted on 2016-08-18
2
38 Views
Last Modified: 2016-08-24
In prepare to migrate our Exchange 2010 to O365, I am trying some Exchange 2010 powershell commands to list our public folders.  I need to display the "last access time" and "who access it" of all the public folders and the sub-folders.  

The get-publicfolderstatistics result has missing public folders in the Public Folder Management Console, such as EX:/o=mydomain/ou=Exchange Administr...., internal, exchageV1, OAB Version 2, 3a, 4.  Do you think these folder are from older version of Exchange?

How can I display those missing folders in the command and is it possible to display both the "last access time" and "who access the folders?"

The "get-publicfolder -recurse -resultsize unlimited" command seems to show all folders and sub-folders in our environment.  How can I use it with the above command to display the result I need?

I use this reference link: https://technet.microsoft.com/en-us/library/aa997949(v=exchg.150).aspx

Thanks.
0
Comment
Question by:nav2567
2 Comments
 
LVL 38

Accepted Solution

by:
Adam Brown earned 500 total points
ID: 41761057
Pipe the get-publicfolder cmdlet to get-publicfolderstatistics. The oab and other folders are in the non-ipm-subtree part of the public folder structure, so running just get-publicfolderstatistics won't read them. You pipe the results of powershell cmdlets by using the | key, like this:
get-publicfolder -recurse -resultsize unlimited | get-publicfolderstatistics

Open in new window

0
 

Author Comment

by:nav2567
ID: 41761589
I still see a lot of errors like this:

Couldn't find public folder "\W/N\b-charters1\simo" on server "myserver.mydomain.com".
    + CategoryInfo          : InvalidData: (\W/N\b-charters1\simo:PublicFolderIdParameter) [Get-PublicFolderStatistics
   ], InvalidOperationException
    + FullyQualifiedErrorId : 7132D31B,Microsoft.Exchange.Management.MapiTasks.GetPublicFolderStatistics

I think this is related to the missing folder in the get-publicfolderstatistics result.  Again, the missing folders (for example, W/M) are being shown in Public Folder Management in EMC.

Thanks.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video discusses moving either the default database or any database to a new volume.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now