Applies to: Exchange Server 2007
Topic Last Modified: 2007-06-06
Use the Remove-AttachmentFilterEntry cmdlet to remove an entry on the attachment filter list that is configured on a computer that has the Edge Transport server role installed.
Syntax
remove-attachmentfilterentry -Identity <String>
[-DomainController <Fqdn>]
|
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Identity |
Required |
System.String |
This parameter specifies what type of attachment that this filter entry removes. The Identity parameter accepts values in the format Type:Name, where Type is one of the following two values:
In Type:Name, Name can be either the file name of the attachment filter entry to be removed, or the content type of the attachment filter entry to be removed. |
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
To specify the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to the Active Directory directory service, include the DomainController parameter on the command. The DomainController parameter is not supported on computers that have the Edge Transport server role installed. The Edge Transport server role writes only to the local ADAM instance. |
Detailed Description
The Attachment Filter agent can block attachments from entering the Microsoft Exchange Server 2007 organization based on the content type and the file name of the attachment. You can use the Remove-AttachmentFilterEntry cmdlet to remove an entry on an attachment filter list that is configured on a computer that has the Edge Transport server role or the Hub Transport server role installed.
To run the Remove-AttachmentFilterEntry cmdlet on a computer that has the Edge Transport server role installed, you must log on by using an account that is a member of the local Administrators group on that computer.
For more information about permissions, delegating roles, and the rights that are required to administer Exchange 2007, see Permission Considerations.
Input Types
Return Types
Errors
Error | Description |
---|---|
Exceptions
Exceptions | Description |
---|---|
Example
You may want to remove entries on the attachment filter list that are no longer required. The following code examples show how to remove an entry from the attachment filter list.
The first code example removes the attachment filter entry that filters file names with a .txt extension.
The second code example removes the attachment filter
entry that filters attachments that have the MIME content type
image/jpeg
.
Copy Code | |
---|---|
Remove-AttachmentFilterEntry -Identity filename:*.txt Remove-AttachmentFilterEntry -Identity contenttype:image/jpeg |