Solved

Missing public folders in get-publicfolderstatistics result.

Posted on 2016-08-18
2
74 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
Adoption of Microsoft’s Enterprise Mobility and Security solution and Office 365 will re-order the File Sync and Share market Microsoft has stated that its Enterprise Mobility + Security (EMS) is the fastest growing product in the history of the …
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
how to add IIS SMTP to handle application/Scanner relays into office 365.

737 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