Delegated setup fails in Exchange 2013

In Exchange 2013, a member of Delegated Setup can't install Exchange if legacy administrative groups exist. I describe the problem over on my new blog, and provide a simple script to work around it: http://bill-long.com/2014/02/04/delegated-setup-fails-in-exchange-2013/


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…


Investigating complex LDAP filters in Exchange

Customers migrating from Exchange 2003 to 2007 or 2010 often use my ConvertFrom-LdapFilter script to do very literal conversions from their old LDAP filters to the new OPATH filter syntax. In most cases, that works, but sometimes you’ll run across a filter like this: (&(&(&(|(&(objectCategory=person)(objectSid=*)(!samAccountType:1.2.840.113556.1.4.804:=3))(&(objectCategory=person)(!objectSid=*))(&(objectCategory=group)(groupType:1.2.840.113556.1.4.804:=14))))(objectCategory=user)(memberOf=CN=SomeGroup,CN=Users,DC=contoso,DC=com))) My script will refuse to process this filter because of…


Identifying Unresolved LegacyExchangeDNs via EWS and Powershell

I recently worked with a customer who had inadvertently deleted all their user accounts (and thus their Exchange mailboxes), and with no backup available, they had to recreate them. Talk about a nightmare! After they did so, they were able to get their email back, but they discovered that replying to email messages from before…


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…