Set-RemoteDomain (RTM)
Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.
Applies to: Exchange Server 2007
Use the Set-RemoteDomain cmdlet to configure a managed connection for a remote domain. When you set a remote domain, you can control mail flow with more precision, specify message formatting and policy, and specify acceptable character sets for messages that are sent to and received from the remote domain.
Before you configure a remote domain by using the Set-RemoteDomain cmdlet, you must create a remote domain by using the New-RemoteDomain cmdlet in the Exchange Management Shell or by using the Exchange Management Console. For more information, see the following topics:
Syntax
Set-RemoteDomain -Identity <RemoteDomainIdParameter> [-AllowedOOFType <External | InternalLegacy | ExternalLegacy | None>] [-AutoForwardEnabled <$true | $false>] [-AutoReplyEnabled <$true | $false>] [-CharacterSet <String>] [-ContentType <MimeHtmlText | MimeText | MimeHtml>] [-DeliveryReportEnabled <$true | $false>] [-DisplaySenderName <$true | $false>] [-DomainController <Fqdn>] [-LineWrapSize <Unlimited>] [-MeetingForwardNotificationEnabled <$true | $false>] [-Name <String>] [-NDREnabled <$true | $false>] [-NonMimeCharacterSet <String>] [-TNEFEnabled <Nullable>]
Set-RemoteDomain [-AllowedOOFType <External | InternalLegacy | ExternalLegacy | None>] [-AutoForwardEnabled <$true | $false>] [-AutoReplyEnabled <$true | $false>] [-CharacterSet <String>] [-ContentType <MimeHtmlText | MimeText | MimeHtml>] [-DeliveryReportEnabled <$true | $false>] [-DisplaySenderName <$true | $false>] [-DomainController <Fqdn>] [-Instance <DomainContentConfig>] [-LineWrapSize <Unlimited>] [-MeetingForwardNotificationEnabled <$true | $false>] [-Name <String>] [-NDREnabled <$true | $false>] [-NonMimeCharacterSet <String>] [-TNEFEnabled <Nullable>]
Detailed Description
To run the Set-RemoteDomain 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 Microsoft Exchange Server 2007, see Permission Considerations.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Identity |
Required |
Microsoft.Exchange.Configuration.Tasks.RemoteDomainIdParameter |
Use this parameter to specify the display name of the remote domain. The length of the name cannot exceed 64 characters. |
AllowedOOFType |
Optional |
Microsoft.Exchange.Data.Directory.SystemConfiguration.AllowedOOFType |
Use this parameter to specify the type of Out of Office (OOF) notification that is returned to users at the remote domain. Valid values are |
AutoForwardEnabled |
Optional |
System.Boolean |
Use this parameter to allow or suppress messages that are auto-forwarded by client e-mail programs in your organization. Setting this parameter to |
AutoReplyEnabled |
Optional |
System.Boolean |
Use this parameter to allow or suppress messages that are automatic replies from client e-mail programs in your organization. Setting this parameter to |
CharacterSet |
Optional |
System.String |
Use this parameter to specify a character set for this remote domain. The character set that you specify will only be used for MIME messages that do not have their own character set specified. Setting this parameter will not overwrite character sets are already specified in the outbound mail. For a list of valid character set names, see Supported Character Sets for Remote Domain Configuration. To remove the character set value (set it to "null"), set the value as follows: |
ContentType |
Optional |
Microsoft.Exchange.Data.Directory.SystemConfiguration.ContentType |
Use this parameter to define the outbound message content type and formatting. Valid values for this parameter are
The default value is |
DeliveryReportEnabled |
Optional |
System.Boolean |
Use this parameter to allow or suppress delivery reports from Hub Transport servers in your organization to the remote domain. The default value is |
DisplaySenderName |
Optional |
System.Boolean |
Valid values for this parameter are |
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
To specify the fully qualified domain name (FQDN) of the domain controller that writes this configuration information from 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 and reads only to the local Active Directory Application Mode (ADAM) instance. |
Instance |
Optional |
Microsoft.Exchange.Data.Directory.SystemConfiguration.DomainContentConfig |
Use this parameter to pass a whole object to the command to be processed. This parameter is mainly used in scripts where a whole object must be passed to the command. |
LineWrapSize |
Optional |
Microsoft.Exchange.Data.Unlimited |
Use this parameter to specify the line-wrap size for outbound messages. The parameter takes an integer between |
MeetingForwardNotificationEnabled |
Optional |
System.Boolean |
Use this parameter to enable or disable meeting forward notifications. When this parameter is enabled, meeting requests that are forwarded to recipients in the remote domain generate a meeting forward notification to the meeting organizer. When this parameter is disabled, meeting requests that are forwarded to recipients in the remote domain will not generate a meeting forward notification to the meeting organizer. Valid values for this parameter are |
Name |
Optional |
System.String |
Use this parameter to create a unique name for a remote domain object. |
NDREnabled |
Optional |
System.Boolean |
Use this parameter to allow or suppress non-delivery reports (NDRs) from your organization. Setting this parameter to |
NonMimeCharacterSet |
Optional |
System.String |
Use this parameter to specify a character set for this remote domain. The character set that you specify will only be used for non-MIME (RFC 822, text) messages that do not have their own character set specified. Setting this parameter will not overwrite character sets are already specified in the outbound mail. For a list of valid character set names, see Supported Character Sets for Remote Domain Configuration. To remove the character set value (set it to "null"), set the value as follows: |
TNEFEnabled |
Optional |
System.Nullable |
Use this parameter to control whether Transport Neutral Encapsulation Format (TNEF) message encoding is used on messages that are sent to the remote domain. Valid values for this parameter are
The default value is |
Example
The following code example performs the following actions:
It disables out-of-office notifications to the remote domain.
It suppresses delivery reports that are sent from clients in your organization to the remote domain.
It enables TNEF message data on messages that are sent to the remote domain.
Set-RemoteDomain -Identity Contoso -AllowedOOFType None -DeliveryReportEnabled $false -TNEFEnabled $true