In my post Accessing The Information Store From Powershell, I promised I would post a real-world Outlook Object Model example in the future, so here it is. Back in 2008, I posted part 4 of my public folder replication troubleshooting series on the Exchange Team Blog, with part 4 focused on Exchange 2007. In that…
ExFolders for Exchange 2010 Sp1
A few of you emailed me when you noticed an error running ExFolders on Exchange 2010 SP1, which was recently released. Attempting to navigate into a mailbox would throw an error stating, “Error: Method not found.” This was due to some changes in the DLLs that ExFolders relies on. We’ve just posted a new version…
New Version of ExFolders Fixes Non-Canonical ACLs
When I wrote ExFolders, I thought the non-canonical Exchange ACL problems were permanently behind us in Exchange 2010. For this reason, ExFolders did not include any functionality to deal with non-canonical ACLs. It turns out I was overly optimistic. In the last few weeks I’ve seen a couple of cases where customers ended up with…
Removing Unresolved SIDs in Exchange 2010
In this post, I’m going to describe how to remove unresolved SIDs from public folders in Exchange 2010. But first, let’s talk about what they are and why we care about them. What are unresolved SIDs? When you view the permissions on a file in Windows or an object in Active Directory, you get a…
Fixing Public Folder Directory Objects That Aren’t Linked To The Hierarchy
In my recent post on the Exchange Team Blog, I briefly mentioned the dangers of forcibly removing an administrative group from ADSI Edit. The most common unintended consequence of this is a deletion of the directory object that represents the Public Folder Hierarchy. Deleting this object creates quite a mess, because all of your mail-enabled…
Fixing Mail Enabled Public Folders per KB 977921
I admit it. I have gotten lazy about posting my new scripts, and haven’t posted anything in forever. Today, someone emailed me about the KB 977921 problem, where a public folder has a directory object but is not flagged as mail-enabled. I wrote a script for this a year ago, and never posted it. So,…
Do Not Use Remove-PublicFolder To Remove A Public Folder Database
About once a week, someone comes to me about a case where a customer has accidentally deleted all their public folders when they were just trying to get rid of one public folder store. This happens because of threads or blog posts where someone suggests using some variation of this command: Get-PublicFolder “\” -Recurse -ResultSize…
Importing Public Folder Contacts From A CSV File
I just had a customer who needed to migrate contacts from an external database into a public folder. They could export the contacts from the database to a CSV, but they needed a way to get the CSV into the public folder. Last night, I whipped up this quick script. This morning, I was looking…
Get-PublicFolderStatistics Can’t Find A Folder
On Exchange 2010, when you use the Get-PublicFolderStatistics command to look for the statistics of a particular folder, you may see an error like this one: The cmdlet throws an InvalidOperationException saying that it “couldn’t find public folder”. However, if you look at the replica list, it clearly indicates that there is a replica on…
New Version Of ExFolders Adds A Clear Permissions Bulk Operation
In October of last year, I updated ExFolders with a new Clear Permissions option in order to fix folders with non-canonical ACLs. I described that update in an old blog post you can find here: http://blogs.technet.com/b/bill_long/archive/2012/05/03/3460823.aspx. Since then, one of the most requested features has been a way to run this on a whole subtree…