With the new DST changes, many customers are asking about how to identify all their public folder calendars and their owners. Fortunately, this is very easy to do using PFDAVAdmin. When you create a folder that holds appointment items, this sets the PR_CONTAINER_CLASS (0x3613001E) property on the folder to IPF.Appointment, and there are several ways to use this property in PFDAVAdmin. There are several ways in which you can go about this that I will cover here.

Before you begin, connect as normal in PFDAVAdmin. Also, go to Tools > Options and make sure logging is enabled.

The first and easiest way to do this is to use Export Properties. Here are the steps:

  • Go to Tools > Export Properties.
  • Leave the scope set to "All Public Folders", and select an output file.
  • In "Properties To Export", check the box for PR_CONTAINER_CLASS. You can uncheck the other stuff that's checked by default, or leave them checked, it doesn't really matter.
  • Click OK and the export will begin.

When this completes you'll have a tab-delimited file containing properties for every folder in the hierarchy. You can open this file in Excel and sort by the PR_CONTAINER_CLASS column to identify all IPF.Appointment folders.

A more complicated way to accomplish this is to use Custom Bulk Operation. With this method, you can choose to only do the folders that meet your criteria, instead of doing every folder in the hierarchy. Use the following steps.

  • Go to Tools > Custom Bulk Operation.
  • Under "Specify the base folder", set it to "Public Folders".
  • In the "Overall Filter" box, enter "(&(0x3613001E=IPF.Appointment))".
  • Click the Add button, choose "Other folder properties", and click OK.
  • Choose "Export", select an export file.
  • In the Property dropdown, choose PR_CONTAINER_CLASS and hit Add.
  • Choose whatever other properties you want to export and add those too. Then click OK.
  • Now you should be back on the Custom Bulk Operation window. Click OK to begin the export.

This will export properties only for calendar folders.

You can also use Tools > Export Permissions to export the permissions for all the folders and see who the owners are. It's not too hard to write a PowerShell script that will go through the property export, identify any IPF.Appointment folders, and then look up the owners in the permissions export. This post includes an example script that will do just that (see below at the attachment at the end of this post). Note that you don't need Exchange 2007 to use this script - just install PowerShell on a workstation somewhere, rename to .ps1 and run.

But there's one other way to go about this. You can use a custom permissions export to only export permissions for any folders that are IPF.Appointment folders. This doesn't export any other properties - only the permissions - but since the export only contains the folders you're concerned with, you don't need the other properties.

Here are the steps:

  • Go to Tools > Custom Bulk Operation.
  • Under "Specify the base folder", set it to "Public Folders".
  • In the "Overall Filter" box, enter "(&(0x3613001E=IPF.Appointment))".
  • Click the Add button, choose "Folder Permissions", and click OK.
  • Choose "Export" and select your export file.
  • Choose either legacyExchangeDN or Account Name format, and click OK.
  • Now you should be back on the Custom Bulk Operation window. Click OK to begin the export.

The resulting file will be a permissions export only for folders where the PR_CONTAINER_CLASS is IPF.Appointment. Then you can just glance through the script to see who the owners of all these folders are. Note that a non-contact owner will just be "Owner", whereas an owner who is also a folder contact will be "All".

Hope this helps!

- Bill Long