Bill Long's Exchange Blog

Exchange Server stuff, focusing on Public Folders, PFDAVAdmin, ExFolders, and Powershell scripting.

Browse by Tags

Related Posts
  • Blog Post: 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/
  • Blog Post: Public Folder Replication fails with TNEF violation status 0x00008000

    Over on my new blog, I posted a script we've used with a few customers to fix a specific public folder replication problem. Find the post here: http://bill-long.com/2014/01/16/public-folder-replication-fails-with-tnef-violation-status-0x00008000/
  • Blog Post: 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/
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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, just...
  • Blog Post: Cleaning Viruses In Public Folders Using EWS

    As a result of last week’s virus outbreak, I’ve been getting some questions about how to clean viruses out of public folders. Unfortunately, there’s no equivalent of Export-Mailbox to pull infected messages out of public folders. However, it’s pretty easy to write a script to...
  • Blog Post: 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...
  • Blog Post: Public Folder Admin Permissions Versus Client Permissions

    Most Exchange administrators have noticed at one time or another that there are folders they can see and access through admin tools such as Exchange System Manager or PFDAVAdmin, but they can’t see or access those same folders through Outlook or OWA. I see a lot of confusion over this issue, so I want...
  • Blog Post: Filtering Output From PFDAVAdmin Or ExFolders

    One of the strengths of the PFDAVAdmin and ExFolders tools is that they can perform an operation against a lot of public folders or mailboxes at once. If you’re doing some sort of export, this can generate a lot of output. So how can you filter the output from PFDAVAdmin or ExFolders to give you just...
  • Blog Post: Accessing The Information Store From Powershell

    In the course of troubleshooting Exchange issues, one discovers a lot of instances where scripting against the Information Store is useful. There are a few ways to access the Information Store from scripts, but for this post I will focus exclusively on two methods. First I’ll discuss using Outlook Object...
  • Blog Post: 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 at my...
  • Blog Post: Fixing Public Folder Replication Errors From Exchange 2003 to Exchange 2007 or 2010

    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...
  • Blog Post: 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 a machine...
  • Blog Post: 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...
  • Blog Post: Checking For Protected ACLs In Active Directory

    Exchange Server setup grants permissions to various groups at various places in the domain and configuration contexts of Active Directory. Since Exchange relies on these permissions in order for everything to work properly, from time to time we see cases where something is not working, and we eventually...