Applies to: Exchange Server 2007
Topic Last Modified: 2007-06-18

Use the Disable-AntispamUpdates cmdlet to prevent the retrieval of anti-spam updates for the Microsoft Forefront Security for Exchange Server anti-spam update service on a computer that has the Edge Transport server role or the Hub Transport server role installed.


Disable-AntispamUpdates [-Identity <ServerIdParameter>] [-DomainController <Fqdn>]


Parameter Required Type Description




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 run the Edge Transport server role. The Edge Transport server role reads and writes only to the local ADAM instance.




This parameter specifies the server that retrieves the anti-spam updates from Microsoft Updates.

Detailed Description

This cmdlet disables the retrieval of anti-spam updates. No change is made to the opt-in status of the server. For more information, see How to Configure Anti-Spam Automatic Updates.

To run the Disable-AntispamUpdates cmdlet, the account you use must be delegated the following:

  • Exchange Server Administrator role and local Administrators group for the target server

To run the Disable-AntispamUpdates 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 Microsoft Exchange Server 2007, see Permission Considerations.

Input Types

Return Types


Error Description



Exceptions Description



The following example disables the retrieval of anti-spam updates on a server named SERVER01.

Copy Code
Disable-AntispamUpdates -Identity SERVER01