Applies to: Exchange Server 2013
Topic Last Modified: 2012-09-13
Use the Set-ForeignConnector cmdlet to modify an existing Foreign connector in the Transport service of a Mailbox server.
Syntax
Set-ForeignConnector -Identity
<ForeignConnectorIdParameter> [-AddressSpaces
<MultiValuedProperty>] [-Comment <String>] [-Confirm
[<SwitchParameter>]] [-DomainController <Fqdn>]
[-DropDirectory <String>] [-DropDirectoryQuota
<Unlimited>] [-Enabled <$true | $false>] [-Force
<SwitchParameter>] [-IsScopedConnector <$true |
$false>] [-MaxMessageSize <Unlimited>] [-Name
<String>] [-RelayDsnRequired <$true | $false>]
[-SourceTransportServers <MultiValuedProperty>] [-WhatIf
[<SwitchParameter>]]
|
Examples
EXAMPLE 1
This example configures a 10 MB message size limit on the existing Foreign connector named Fax Connector.
Copy Code | |
---|---|
Set-ForeignConnector "Fax Connector" -MaxMessageSize 10MB |
Detailed Description
A Foreign connector uses a Drop directory in the Transport service of a Mailbox server to send messages to a local messaging server that doesn't use SMTP as its primary transport mechanism. These messaging servers are known as foreign gateway servers. Third-party fax gateway servers are examples of foreign gateway servers. The address spaces assigned to a Foreign connector can be SMTP or non-SMTP.
You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Foreign connectors" entry in the Mail Flow Permissions topic.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Identity |
Required |
Microsoft.Exchange.Configuration.Tasks.ForeignConnectorIdParameter |
The Identity parameter specifies the Foreign connector that you want to modify. The Identity parameter can take any of the following values for the Foreign connector object:
|
AddressSpaces |
Optional |
Microsoft.Exchange.Data.MultiValuedProperty |
The AddressSpaces parameter specifies the domain names to which the Foreign connector sends messages. The complete syntax for entering each address space is as follows: <AddressSpaceType>:<AddressSpace>;<AddressSpaceCost>
If you specify the address space type or the address space cost, you must enclose the address space in quotation marks ("). For example, the following address space entries are equivalent:
You may specify multiple address spaces by separating the
address spaces with commas, for example:
To add or remove one or more address space values without
affecting any existing entries, use the following syntax:
|
Comment |
Optional |
System.String |
The Comment parameter specifies an optional comment. If
you specify a value that contains spaces, enclose the value in
quotation marks ("), for example: |
Confirm |
Optional |
System.Management.Automation.SwitchParameter |
The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch. |
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory. |
DropDirectory |
Optional |
System.String |
The DropDirectory parameter specifies the name of the Drop directory used by this Foreign connector. All outbound messages sent to address spaces defined by this Foreign connector are put in the specified Drop directory. The location of the Drop directory for each Foreign connector is controlled by the following two items:
By default, the RootDropDirectoryPath parameter is blank. This indicates the value of RootDropDirectoryPath is the Exchange 2010 installation folder. The default Exchange 2010 installation folder is C:\Program Files\Microsoft\Exchange Server\. By default, the value of the DropDirectory parameter is the name of the Foreign connector. If the value of the DropDirectory parameter doesn't contain absolute path information, the location of the Drop directory is defined by the combination of the DropDirectory parameter and the RootDropDirectoryPath parameter. If the value of the DropDirectory parameter contains absolute path information, the value of the RootDropDirectoryPath must be unspecified. The location of the Drop directory is defined only by the value of the DropDirectory parameter. The Drop directory isn't created for you. Therefore, you have to manually create each Drop directory folder. The Drop directory must have the following permissions assigned to it:
|
DropDirectoryQuota |
Optional |
Microsoft.Exchange.Data.Unlimited |
The DropDirectoryQuota parameter specifies the maximum size of all message files in the Drop directory. When the specified value is reached, no new message files can be copied into the Drop directory until the existing messages are delivered and deleted. When you enter a value, qualify the value with one of the following units:
Unqualified values are treated as bytes. The valid input range for this parameter is from 1 through
2147483647 bytes. If you enter a value of |
Enabled |
Optional |
System.Boolean |
The Enabled parameter specifies whether to enable the
Foreign connector. The valid values are |
Force |
Optional |
System.Management.Automation.SwitchParameter |
The Force switch specifies whether to suppress warning or confirmation messages. This switch can be used when the task is run programmatically and prompting for administrative input is inappropriate. If the Force switch isn't provided in the command, you're prompted for administrative input. You don't have to specify a value with this parameter. |
IsScopedConnector |
Optional |
System.Boolean |
The IsScopedConnector parameter specifies the
availability of the connector to other Mailbox servers. When the
value of this parameter is |
MaxMessageSize |
Optional |
Microsoft.Exchange.Data.Unlimited |
The MaxMessageSize parameter specifies the maximum size of a message that can pass through this Foreign connector. When you enter a value, qualify the value with one of the following units:
Unqualified values are treated as bytes. If you enter a value of |
Name |
Optional |
System.String |
The Name parameter specifies a descriptive name for the Foreign connector. |
RelayDsnRequired |
Optional |
System.Boolean |
The RelayDsnRequired parameter specifies whether a Relay
delivery status notification (DSN) is required by the Foreign
connector when messages are written to the Drop directory. The
valid input values for this parameter are |
SourceTransportServers |
Optional |
Microsoft.Exchange.Data.MultiValuedProperty |
The SourceTransportServers parameter specifies the names of the Mailbox servers that use this Foreign connector. Having a single Foreign connector homed on multiple Mailbox servers running the Transport service provides fault tolerance and high availability if one of the servers fails. The default value of this parameter is the name of the Mailbox server on which this Foreign connector was first installed. To enter multiple values and overwrite any existing entries, use
the following syntax:
To add or remove one or more values without affecting any
existing entries, use the following syntax:
|
WhatIf |
Optional |
System.Management.Automation.SwitchParameter |
The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch. |
Input Types
To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.
Return Types
To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.