Mastering Microsoft Exchange Server 2007 SP1

When Microsoft announced it was "deemphasizing'' support for public folders in Exchange Server 2007, a lot of Exchange administrators immediately got worried. What was the future of public folders? Would Exchange Server 2007 continue to support them? If not, what would the migration path look like?

Happily, Microsoft has clarified its position on public folder support. Public folders are still fully supported in Exchange Server 2007 (and will be through 2016), although they may not be included in future releases of Exchange Server. However, Exchange Server 2007 is the first version to provide support for Microsoft Windows SharePoint Services integration as an alternative method of seamlessly sharing data within your organization and making it available to Outlook 2007 and Outlook Web Access (OWA) users.

In the meantime, you can go forward with your Exchange 2007 migration secure in the knowledge that you will be able to continue using your public folder infrastructure. You can continue to use the Exchange 2003 System Manager console to create, manage, and delete public folders, or you can use the functionality built into Exchange 2007.

Understanding Native Exchange 2007 Support

Although the Exchange Management Console (EMC) offers minimal support for public folders, Exchange 2007 provides the bulk of its built-in support via Exchange Management Shell (EMS) cmdlets. Don't worry; they're not difficult to use, even if you're not a script or command-line guru.

Before we show you how to use the new public folder cmdlets, though, we'll cover exactly what you can do in the EMC. Be warned that it isn't much: you can create and delete public folder stores on your mailbox servers and manage the basic properties of these stores. You can't view the public folder hierarchy, add or delete public folders, set folder properties, manage access permissions, or view and manage replication. To do all of those tasks, you'll need some other tool, such as Outlook to manage individual folders or EMS to deal with public folders from the server.

If you're missing the GUI and feeling left high and dry, ponder the plight of POP3, IMAP, and NNTP GUI management. Exchange 2007 includes no GUI interface for managing those protocols and EMS is the only way to go. At least with public folders, if you don't feel up to tackling EMS, you can always use the Exchange 2003 System Manager console.

Using the EMS

The EMS is built on the Windows PowerShell technology. Because it's a specialized application of PowerShell, it uses the same format as standard PowerShell cmdlets. That format is as follows:

verb-noun

By combining the noun and verb in the name of the cmdlet, each cmdlet self-describes both the type of operation it performs as well as the object it manipulates. Verbs produce a standard behavior regardless of which object they're applied to. For example, the Get verb will always provide a read-only list of the object's properties, while the Set verb will always allow you to modify those properties - even when those properties vary from object to object.

Tip 

In some of the following examples, you'll see lines terminated by a backtick (') character. PowerShell uses this character for line termination; it tells the shell that the logical line of input will be continued on the next physical line. This allows you to break up long lines for display and still ensure that they work correctly when you enter them.

As a result, the same verbs and nouns tend to be used over and over again; this helps you learn your way around more quickly. Many of the properties are common across multiple objects, so you'll quickly get used to how to use them. The help page for each cmdlet lists all parameters that can be used with that cmdlet.

Note 

As we explore the public folder cmdlets in the EMC, we'll group related cmdlets together by noun so you can see the different types of operations you can perform. It makes it a lot easier to keep related types of operations together in your mind.

Performing General Public Folder Tasks

These cmdlets apply to the entire public folder hierarchy at once and provide broad control of your public folder infrastructure:

Manipulating Individual Public Folders

These cmdlets are designed to work with a specific public folder:

Manipulating Public Folder Mail Attributes

These cmdlets are designed to work with a specific public folder and modify the attributes it receives when it is mail-enabled:

Managing Public Folder Databases

These cmdlets allow you to manage the public folder databases:

Managing Public Folder Permissions

These cmdlets allow you to modify and monitor the permissions on your public folders. Administrative and client permissions are handled through two separate sets of nouns. The Exchange 2007 documentation contains the list of specific permissions that you can apply.

Using Additional Scripts for Complicated Tasks

While the cmdlets described in the preceding sections are certainly great for single folder operations, performing common operations on entire groups of folders starts getting sticky. Since most of us aren't scripting gurus, Exchange 2007 provides some example EMS scripts that allow you to perform more complicated server and management tasks that affect groups of folders:

You can find these scripts in the Scripts subfolder of the Exchange 2007 installation folder. Note that with the default Windows PowerShell configuration, you just can't click on these scripts and run them; you must invoke them from within the EMS, usually by navigating to the folder and calling them explicitly.

Using Outlook

Exchange public folders can also be created by mailbox-enabled users in their e-mail clients. We'll show you how to create a public folder using the Outlook client.

Open Outlook and make sure the folder list is displayed. Next, double-click Public Folders in the folder list, or click the plus icon just in front of Public Folders. Notice that the plus sign becomes a minus sign when a folder is expanded to show the folders within it.

You've now expanded the top-level folder for public folders, which contains two subfolders: Favorites and All Public Folders. Expand the All Public Folders folder and you'll see that it has at least one subfolder: Internet Newsgroups. If your organization uses public folders, you probably have at least one other subfolder here as well.

Note 

If your Exchange organization has a large number of public folders, you can drag the ones that you use a lot to your Favorites subfolder. This makes them easier to find. Folders in the Favorites folder are also the only ones that are available when you work offline without a connection to your Exchange server.

To create new public folders in the folder All Public Folders, follow these steps:

  1. Right-click All Public Folders, and then select New Folder from the menu that pops up. This brings up the Create New Folder dialog box (see Figure 14.1).

  2. Enter a name for the folder; we've given ours the somewhat unimaginative name My New Folder.

    Note that the folder will hold e-mail and posted items. E-mail items are messages. Posted items contain a subject and text. You can post an item in a folder designed to hold posts without having to deal with messaging attributes such as whom the item is sent to. To post an item, click the down arrow near the New icon on the main Outlook window and select Post in This Folder from the drop-down menu.

    When you're done creating your folder, click OK.

Figure 14.1: Naming a new folder

If you're told that you don't have sufficient permissions to create the folder, you need to assign those permissions using one of the other Exchange public folder management tools. If you have Exchange administrative permissions, you can make this change yourself.

The new public folder now shows up under the All Public Folders hierarchy. If you can't see the full name of your new folder, make the Folder List pane a little wider.

Now right-click your new folder and select Properties from the pop-up menu. This brings up the Properties dialog box for the folder, shown in Figure 14.2.

Figure 14.2: The Outlook client's Properties dialog box for a public folder

We're not going to spend a lot of time with this dialog box. Among other things, mailbox owners use public folder Properties dialog boxes to do the following:

Go ahead and look around in the Properties dialog box. When you're done, click Cancel, unless you've made some changes. If you have, then click OK to save your changes.

Note 

You create and manage private folders inside mailboxes in the same way that you create and manage public folders in the Public Folders hierarchy. 'Nuff said.

Using the Exchange 2003 System Manager

In Exchange 5.5, you could only create public folders using an e-mail client. You couldn't create one in the Administrator program. Exchange 2003 lets you create public folders in Exchange System Manager as an Exchange administrator.

Launch the System Manager, expand the Administrative Groups node, expand the desired administrative group, and expand the Folders node. Right-click the Public Folders container and select New Ø Public Folder from the pop-up menu to bring up the new public folder Properties dialog box.

Let's take a look at the key property pages on this dialog box.

General

You use the General property page to name your folder and enter a description. The Path field shows where the folder is located in the Public Folder hierarchy after it has been created. If Maintain Per-User Read and Unread Information for This Folder is selected, each user will see items in the folder that they have read in non-bold text. If this option is not selected, all items show in bold text for all users whether they have been read or not.

Replication

This is a very important property page because it is used to manage replication of folders between this server and other Exchange servers. Replication enables you to put copies of the same folder on multiple Exchange servers. It is very useful either for local load balancing or to limit wide area network traffic and improve performance by placing copies of folders in routing groups at geographically distant sites.

Limits

You've seen limits property pages before. Let's look at each of the three types of limits on this page:

When you're finished creating your public folder, click OK and admire your handiwork in the Public Folders container. You should create folders in the Folders\Public Folders container, not in the public folder store. The public folder store holds created folders. You create new public folders in the Folders\Public Folders container. Seems simple, but if we had a dollar for every time we wrongly went to the public folder store to create a new public folder, well, we'd at least be on the beach in Hawaii right now.

Warning 

In some earlier versions of Exchange, the Windows group Everyone had rights by default to create folders in the Public Folders container. This right extends to both top-level folders (folders within and, thus, just below the Public Folders container) and subfolders within top-level folders. If you want to alter this right, right-click the Public Folders container and select Properties. Use the Security tab in the Public Folders Properties dialog box to add or remove users and groups or their rights in the Public Folders container. Even if you don't want to change the default, we strongly recommend that you take a look at the Security tab. Many of the permissions on it are specific to public folders and are therefore quite different from the permissions for other types of Exchange recipients.

Using the Public Folder DAV Administration Tool

It is really unfortunate that the initial release of Exchange 2007 provides no GUI for public folder management. While the EMS cmdlets are very functional, it can take some time to master using them; in the meantime, you still have public folders to administer.

Happily, Microsoft has an outstanding freely available GUI tool, the Public Folder DAV Administrator (PFDAVAdmin.exe), that it makes available. PFDAVAdmin is a .NET application that uses WebDAV instead of MAPI to access the public folder store.

Note 

You might now be wondering if using PFDAVAdmin is a good idea, given its reliance on WebDAV. In Exchange 2007 support for the WebDAV protocol is "deemphasized,'' meaning that Microsoft doesn't promise it will be around for the next major version of Exchange. But it's still here in Exchange 2007 - and it allows you to use this wonderful management tool.

PFDAVAdmin requires the .NET framework version 1.1 to be installed, which means you must maintain multiple versions of the .NET framework on your management servers and workstations.

PFDAVAdmin is a wonderfully flexible tool. At first glance, it seems to give you the ability to manage public folder permissions using a GUI that is close to the legacy Exchange System Manager. In addition to querying and setting permissions, you can add, replace, and remove individual access control entries (ACEs) across a set of folders without having to wholesale replace the access control lists (ACLs) in question. PFDAVAdmin will also notify you when an ACL is damaged or in noncanonical order (meaning that the ACEs aren't properly ordered) and allow you to fix them on more than one folder at once.

Note 

Administrators who made use of the Installable File System (IFS) - otherwise known as the M: drive - in Exchange 2000 and 2003 would often use the Windows Explorer permission tool to modify permissions on public folders. Unfortunately, this usually causes ACEs to get written in the wrong order, causing all sorts of subtle problems. PFDAVAdmin is the easy way to fix them, if you've got to deal with them and you don't have to wait until you've got Exchange 2007 in your organization to do it! Luckily, Exchange 2007 makes the IFS go away, so once you fix the problems, they're not likely to come back.

You can also use PFDAVAdmin to do the following:

Microsoft makes PFDAVAdmin freely available through the Microsoft Exchange tools download website at http://tinyurl.com/h2jvv.

Using Other Public Folder Tools

There are a couple of additional tools that Exchange administrators have used throughout the years. While they work with legacy Exchange servers, many of them are not certified for use with Exchange 2003 (let alone Exchange 2007). However, you can still use them as long as you have legacy Exchange public folder servers in your organization. There are two in particular we'd like to mention:

While you might be tempted to use PFAdmin and PFInfo in your Exchange 2007 organization (especially if you're already using them), we recommend that you finally retire these tools before retiring your legacy Exchange public folder servers. The most compelling reason to use these tools with legacy Exchange servers was to provide the missing command-line and scripting capability for public folder management, and now that Exchange 2007 includes the EMS, you should really put the effort into mastering the public folder cmdlets it provides.

There is one additional legacy tool you might find of value. The Public Folder Migration Tool (PFMigrate.wsf) is a Visual Basic script that was introduced in the Exchange Server 2003 Deployment Tools (ExDeploy). This script was designed for one purpose: to provide a simple interface for performing bulk public folder replica transfers from Exchange 5.5 servers to Exchange 2003 servers. However, because it can handle cross-administrative group replica transfers, PFMigrate can be used to move replicas to Exchange 2007 servers. The script is downloadable from the Microsoft website as part of the latest versions of the Exchange Server 2003 ExDeploy tools.

Категории