Solved

Missing public folders in get-publicfolderstatistics result.

Posted on 2016-08-18
2
55 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 39

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

808 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