Cleaning Up Microsoft Exchange System Objects (MESO)

Over on my new blog, I posted a response to a commenter who asked which objects can be safely removed from Microsoft Exchange System Objects. Find the post here: http://bill-long.com/2014/01/11/cleaning-up-microsoft-exchange-system-objects/


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,…


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…


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…


Hierarchy Replication Fails Due To Zero GUID

Exchange 2010 Sp1 Rollup Update 4 released a couple of days ago, and I want to briefly mention one of the fixes it includes. The fix I’m talking about is KB 2506049, “The hierarchy of a new public folder database on an Exchange Server 2010 SP1 server is not replicated”. You’ll know you’ve hit this…


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 PFDAVAdmin or ExFolders Exports Without PFDAVAdmin or ExFolders

It’s almost May and I haven’t posted anything yet this year, so it’s definitely time to post a new script. I recently worked with a customer that needed to export the public folder permissions from one Exchange organization and import them into another. The trick was that on the import side, some of the accounts…


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…


Cleaning Viruses In Public Folders Using OOM

In my previous post, I provided an example script that used EWS to delete items out of public folders. Of course, you can only use EWS if your public folders are on Exchange 2007 or 2010. The example script in this post uses Outlook Object Model instead. This means it has to be run from…