Bill Long's Exchange Blog

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

Browse by Tags

Related Posts
  • Blog Post: Mailbox lock contention in Exchange 2013

    We're seeing some cases where contention for the mailbox lock causes errors on Exchange 2013. In a post over on my new blog, I describe how to identify this situation: http://bill-long.com/2014/02/07/mailbox-lock-contention-in-exchange-2013/
  • 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: 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 problem...
  • 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: 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...
  • Blog Post: 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...
  • Blog Post: PFDAVAdmin Update Released

    As announced over on the Exchange Team Blog, an updated version of PFDAVAdmin was released to the download center a few days ago. See that post for details. This updated version has been used internally for a while, but if you notice any problems with it, let me know.
  • 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: The Effects Of Archival Stubs On Database Space Management

    Update: The Exchange 2010 issue was resolved in SP2 RU1. Recently, there have been some theories flying around the blogosphere about the way archive stubbing affects space reclamation in Exchange databases. Specifically, some have questioned whether Exchange will properly reclaim the space when the size...
  • 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: Canonical Ordering Of Mailbox Permissions In Exchange

    An Access Control List, or ACL , is basically just a list of Access Control Entries, or ACEs . Each ACE contains a flag indicating whether it’s an Allow or a Deny ACE, a mask that shows which rights are being allowed or denied, and a SID to which those allow or deny rights are applied. Evaluating...
  • Blog Post: Ambiguous SID Error in PFDAVAdmin

    May 13, 2010 Edit: The Download Center has been updated with the new build of PFDAVAdmin which contains the fix for this issue. With the release of the new PFDAVAdmin a few weeks ago, some customers started running into an “Ambiguous SID” error when trying to add the Everyone group or Anonymous group...
  • Blog Post: How To Identify Bad Items In Public Folder Replication

    As I’ve previously discussed here and here , there are various things that will prevent an item from replicating to an Exchange 2007 or Exchange 2010 public folder store – things like bad start/end dates on appointments, category names that contain certain characters, etc. However, once you’ve figured...
  • 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...