Solved

Missing public folders in get-publicfolderstatistics result.

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

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

Find out what the Office 365 disclaimer function is, why you would use it and its limited ability to create Office 365 signatures.
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Microsoft Office Picture Manager has a Picture Shortcuts pane that shows a list with the Recently Browsed folders. While creating my video Micro Tutorial here at Experts Exchange showing How to Install Microsoft Office Picture Manager in Office 2013…
This Experts Exchange lesson shows how to use VBA to loop through rows in Excel.  In order to sort, filter, and use database features, there needs to be a value in each column for every row. When data arrives with values missing, code to copy values…

920 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

16 Experts available now in Live!

Get 1:1 Help Now