Defining File Groups






Defining File Groups

Problem

You want to create a file group to be used within Windows Server 2003 R2's File Screening capabilities.

Solution

Using a graphical user interface
  1. Open the File Server Management MMC snap-in. Navigate to File Server Management File Server Resource Manager File Screening Management.

  2. Right-click on File Groups and select "Create file group."

  3. Under File group name, enter a display name for the file group.

  4. Under Files to include, enter one or more files to include in the file group. You can specify individual filenames or use standard wild card notation such as ? and *. Click Add to add one or more entries to the include list, or click Remove to delete an entry.

  5. Under Files to exclude, enter one or more files to exclude from the file group. You can specify individual filenames or use standard wildcard notation such as ? and *. Click Add to add one or more entries to the exclude list, or click Remove to delete an entry.

  6. Click OK to save the changes you've made to the file group.

Using a command-line interface

The following command will create a file group called Mailbox Files that contains four types of files:

	> filescrn filegroup add /filegroup:"Mailbox Files"
	/Member:"*.mbx|*.inbox|*.pst|*.ost"

Discussion

File groups are the building blocks for the file-screen capabilities that are built into the file server role in Windows Server 2003 R2. You'll use file groups to define a file screen, a file-screen exception, or a storage report for your file server. It's important to note that the file group itself does not define what should be done with those files: if you have a file group configured for *.mp3 files, a file screen using that group would prevent MP3 files from being saved to a particular directory, while configuring a file-screen exception using this group would allow MP3 files to be saved in the directory that you specify.

See Also

Recipe 9.12 for managing file-screen templates, Recipe 9.13 for managing file screens, and Recipe 9.14 for managing file-screen exceptions



 Python   SQL   Java   php   Perl 
 game development   web development   internet   *nix   graphics   hardware 
 telecommunications   C++ 
 Flash   Active Directory   Windows