Solved

Missing public folders in get-publicfolderstatistics result.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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…
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…

829 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