Click to Rate and Give Feedback
TechNet
TechNet Library
Exchange Server
Technical Reference
 Set-ExchangeServer (RTM)

  Switch on low bandwidth view
Set-ExchangeServer (RTM)

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

Use the Set-ExchangeServer command to set Microsoft Exchange Server 2007 attributes in Active Directory for a specified server.


Set-ExchangeServer -Identity <ServerIdParameter> [-DomainController <Fqdn>] [-ErrorReportingEnabled <Nullable>] [-ProductKey <ProductKey>] [-StaticConfigDomainController <String>] [-StaticDomainControllers <MultiValuedProperty>] [-StaticExcludedDomainControllers <MultiValuedProperty>] [-StaticGlobalCatalogs <MultiValuedProperty>]

Set-ExchangeServer [-DomainController <Fqdn>] [-ErrorReportingEnabled <Nullable>] [-Instance <ExchangeServer>] [-ProductKey <ProductKey>] [-StaticConfigDomainController <String>] [-StaticDomainControllers <MultiValuedProperty>] [-StaticExcludedDomainControllers <MultiValuedProperty>] [-StaticGlobalCatalogs <MultiValuedProperty>]

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

This parameter specifies the GUID, distinguished name, or name of the server.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

This parameter specifies the domain controller that is used by the command.

ErrorReportingEnabled

Optional

System.Nullable

This parameter specifies whether error reporting is enabled.

Instance

Optional

Microsoft.Exchange.Data.Directory.Management.ExchangeServer

The Instance parameter enables you to pass an entire object to the command to be processed. It is mainly used in scripts in which an entire object must be passed to the command.

ProductKey

Optional

Microsoft.Exchange.Management.SystemConfigurationTasks.ProductKey

This parameter specifies the server product key.

StaticConfigDomainController

Optional

System.String

This parameter is used to configure a domain controller to be used by the server via DSAccess.

StaticDomainControllers

Optional

Microsoft.Exchange.Data.MultiValuedProperty

This parameter is used to configure a list of domain controllers to be used by the server via Directory Service Access (DSAccess).

StaticExcludedDomainControllers

Optional

Microsoft.Exchange.Data.MultiValuedProperty

This parameter is used to exclude a list of domain controllers to be used by the server.

StaticGlobalCatalogs

Optional

Microsoft.Exchange.Data.MultiValuedProperty

This parameter is used to configure a list of global catalogs to be used by the server via DSAccess.

This command sets generic Exchange attributes in Active Directory for a specified computer running Exchange 2007 only. You can only use this task on one server at a time. If you wish to bulk manage your Exchange servers, add this task to a script.

To run the Set-ExchangeServer cmdlet, the account you use must be delegated the following:

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

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

Error Description

Exceptions Description

In this example, error reporting is disabled on the specified server.

Set-ExchangeServer -Identity TestServer.Contoso.com -ErrorReportingEnabled: $False
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker