Set-SendConnector - Ändern der Eigenschaften des Sende Connectors

Ändern der  maximalen Sendelimits auf einem Sendeconnector:

Set-SendConnector "Intern" -MaxMessageSize 20MB

Anzeige der Eigenschaften mit Get-SendConnector

=================================================================================

SYNOPSIS
Use the Set-SendConnector cmdlet to modify a Send connector on a computer t
hat has the Hub Transport server role or the Edge Transport server role ins
talled.

DETAILED DESCRIPTION
The Set-SendConnector cmdlet modifies an existing Send connector. The Name
parameter is required when you run the Set-SendConnector cmdlet. The Identi
ty parameter is required only when you modify the Name parameter value.
After this task is completed, the Send connector is modified.
To run the Set-SendConnector cmdlet on a computer that has the Hub Transpor
t server role installed, you must log on by using a domain account that has
the permissions assigned to the Exchange Server Administrators group. The
account must also be a member of the local Administrators group on that com
puter.
To run the Set-SendConnector cmdlet on a computer that has the Edge Transpo
rt server role installed, you must log on by using an account that is a mem
ber of the local Administrators group on that computer.

This command also supports the ubiquitous parameters:
-Debug (-db), -ErrorAction (-ea), -ErrorVariable (-ev)
-OutBuffer (-ob), -OutVariable (-ov), and -Verbose (-vb).
To learn more see help about_ubiquitous_parameters.

USAGE
Set-SendConnector -Identity <SendConnectorIdParameter> [-AddressSpaces <Mul
tiValuedProperty>] [-AuthenticationCredential <MshCredential>] [-AuthMechan
ism <None | BasicAuth | BasicAuthPlusTls | ExchangeServer | ExternalAuthori
tative>] [-Comment <String>] [-ConnectionTimeOut <TimeSpan>] [-DNSRoutingEn
abled <$true | $false>] [-DomainController <String>] [-Enabled <$true | $fa
lse>] [-ExternallySecuredAsPartnerDomain <SmtpDomain>] [-ForceHELO <$true |
$false>] [-Fqdn <Fqdn>] [-IgnoreSTARTTLS <$true | $false>] [-LinkedReceive
Connector <ReceiveConnectorIdParameter>] [-MaxMessageSize <Unlimited>] [-Na
me <String>] [-Port <Int32>] [-ProtocolLoggingLevel <None | Basic>] [-Requi
reTLS <$true | $false>] [-SmartHosts <MultiValuedProperty>] [-SourceIPAddre
ss <IPAddress>] [-SourceTransportServers <MultiValuedProperty>] [-UseExtern
alDNSServersEnabled <$true | $false>]

Set-SendConnector [-AddressSpaces <MultiValuedProperty>] [-AuthenticationCr
edential <MshCredential>] [-AuthMechanism <None | BasicAuth | BasicAuthPlus
Tls | ExchangeServer | ExternalAuthoritative>] [-Comment <String>] [-Connec
tionTimeOut <TimeSpan>] [-DNSRoutingEnabled <$true | $false>] [-DomainContr
oller <String>] [-Enabled <$true | $false>] [-ExternallySecuredAsPartnerDom
ain <SmtpDomain>] [-ForceHELO <$true | $false>] [-Fqdn <Fqdn>] [-IgnoreSTAR
TTLS <$true | $false>] [-Instance <SmtpSendConnectorConfig>] [-LinkedReceiv
eConnector <ReceiveConnectorIdParameter>] [-MaxMessageSize <Unlimited>] [-N
ame <String>] [-Port <Int32>] [-ProtocolLoggingLevel <None | Basic>] [-Requ
ireTLS <$true | $false>] [-SmartHosts <MultiValuedProperty>] [-SourceIPAddr
ess <IPAddress>] [-SourceTransportServers <MultiValuedProperty>] [-UseExter
nalDNSServersEnabled <$true | $false>]

PARAMETERS
-Identity <SendConnectorIdParameter>
The Identity parameter specifies the GUID or connector name that repres
ents the Send connector that you want to modify

Parameter required? True
Parameter position? 0
Parameter type Microsoft.Exchange.Configuration.Tasks.Se
ndConnectorIdParameter
Default value
Accept multiple values? False
Accepts pipeline input? True
Accepts wildcard characters? False

-AddressSpaces <MultiValuedProperty>
This parameter is required unless this connector is linked to a Receive
connector. The AddressSpaces parameter specifies the domain names to w
hich the Send connector sends. Separate each address space by using a c
omma as follows, for example: contoso.com,woodgrovebank.com. Wildcard c
haracters (*) can also be used when you set the AddressSpaces parameter
as follows, for example: "*" or "*.com".

Parameter required? False
Parameter position? Named
Parameter type Microsoft.Exchange.Data.MultiValuedProper
ty
Default value
Accept multiple values? True
Accepts pipeline input? False
Accepts wildcard characters? False

-AuthenticationCredential <MshCredential>
This parameter requires the creation and passing of a credential object
. This credential object is created by using the Get-Credential cmdlet
. For more information about the Get-Credential cmdlet, type Get-Help G
et-Credential in the Exchange Management Shell.

Parameter required? False
Parameter position? Named
Parameter type System.Management.Automation.MshCredentia
l
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-AuthMechanism <None | BasicAuth | BasicAuthPlusTls | ExchangeServer | ExternalAuthoritative>
This parameter is used during authentication with a remote server. This
parameter is used only when a smart host is configured and the DNSRout
ingEnabled parameter is set to $False. Valid values are None or any com
bination of TLS, Integrated (NTLM or Kerberos), BasicAuth, BasicAuthPlu
sTls, ExchangeServer, and ExternalAuthoritative.

Parameter required? False
Parameter position? Named
Parameter type Microsoft.Exchange.Data.Directory.SystemC
onfiguration.SmtpSendConnectorConfig+AuthMechanisms
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-Comment <String>
You must enclose the Comment parameter in double quotation marks, for e
xample: "this is an admin note".

Parameter required? False
Parameter position? Named
Parameter type System.String
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-ConnectionTimeOut <TimeSpan>
This parameter specifies the maximum time that a connection can remain
open. The default value for a Hub Transport server is 10 minutes. The d
efault value for an Edge Transport server is 5 minutes. To specify a va
lue, enter the value as a time span: dd.hh:mm:ss, where d = days, h = h
ours, m = minutes, and s = seconds. For example, to specify a time-out
of seven minutes, enter 00:07:00.

Parameter required? False
Parameter position? Named
Parameter type System.TimeSpan
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-DNSRoutingEnabled <$true | $false>
This parameter specifies whether Domain Name System (DNS) routing shoul
d be used, or if all messages should be sent through the smart host tha
t is configured by using the SmartHosts parameter. The default value is
$True. If you want to set the value to $False, you must first set a va
lue on the SmartHosts parameter.

Parameter required? False
Parameter position? Named
Parameter type System.Boolean
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-DomainController <String>
To specify the fully qualified domain name (FQDN) of the domain control
ler that writes this configuration change to the Active Directory direc
tory service, include the DomainController parameter on the command. Th
e DomainController parameter is not supported on computers that run the
Edge Transport server role. The Edge Transport server role reads and w
rites only to the local ADAM instance.

Parameter required? False
Parameter position? Named
Parameter type System.String
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-Enabled <$true | $false>
Valid input for the Enabled parameter is $True or $False. The default v
alue is $True. Use the Enabled parameter to enable or disable the abili
ty for the connector to process e-mail messages.

Parameter required? False
Parameter position? Named
Parameter type System.Boolean
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-ForceHELO <$true | $false>
Valid input for this parameter is $True or $False. The default value is
$False. By default, EHLO is used. If this parameter is set to $True, H
ELO is sent instead of EHLO.

Parameter required? False
Parameter position? Named
Parameter type System.Boolean
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-Fqdn <Fqdn>
This parameter specifies the fully qualified domain name to be displaye
d in the HELO or EHLO banners. The default value is the authoritative d
omain name.

Parameter required? False
Parameter position? Named
Parameter type Microsoft.Exchange.Data.Fqdn
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-IgnoreStartTLS <>
This parameter specifies whether to ignore the StartTLS option that is
offered by a remote sending server. This parameter is used with remote
domains. This parameter must be set to false if the RequireTLS paramete
r is set to $True. The valid values for this parameter are $True and $F
alse.

Parameter required?
Parameter position?
Parameter type System.Boolean
Default value
Accept multiple values?
Accepts pipeline input?
Accepts wildcard characters? False

-Instance <SmtpSendConnectorConfig>
This parameter enables you to pass an entire object to the command to b
e processed. It is mainly used in scripts where an entire object must b
e passed to the command.

Parameter required? False
Parameter position? Named
Parameter type Microsoft.Exchange.Data.Directory.SystemC
onfiguration.SmtpSendConnectorConfig
Default value
Accept multiple values? False
Accepts pipeline input? True
Accepts wildcard characters? False

-LinkedReceiveConnector <ReceiveConnectorIdParameter>
When you specify a Receive connector GUID, you force all messages that
pass through the referenced Receive connector to send messages through
this Send connector.

Parameter required? False
Parameter position? Named
Parameter type Microsoft.Exchange.Configuration.Tasks.Re
ceiveConnectorIdParameter
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-MaxMessageSize <Unlimited>
This parameter specifies the maximum size of a message that can pass th
rough a connector. You can also overload this parameter by entering unl
imited, if you do not want to impose message limits on this connector.
The default value is 10MB. When you enter an integer, qualify the value
with one of the following units:
* B (bytes)
* KB (kilobytes)
* MB (megabytes)
* GB (gigabytes)
* TB (terabytes)
Unqualified integers are treated as bytes.

Parameter required? False
Parameter position? Named
Parameter type Microsoft.Exchange.Data.Unlimited
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-Name <String>
The Name parameter is the administrator-supplied name of the connector.
You must enclose the Name parameter in double quotation marks if the n
ame contains spaces, as follows, for example: "New Send Connector".

Parameter required? False
Parameter position? Named
Parameter type System.String
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-Port <Int32>
This parameter takes an integer between 0 and 65535. The default value
is 25. If you specify a value in the SmartHosts parameter, the Port val
ue specifies the port number that is used for smart host forwarding. In
most organizations, the port number is set to 25.

Parameter required? False
Parameter position? Named
Parameter type System.Int32
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-ProtocolLoggingLevel <None | Basic>
Valid input for the ProtocolLoggingLevel parameter is None or Basic. Th
e default value is None. The location of protocol log storage can be sp
ecified by using the SendProtocolLogPath parameter of the Set-Transport
Server command.

Parameter required? False
Parameter position? Named
Parameter type Microsoft.Exchange.Data.ProtocolLoggingLe
vel
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-RequireTLS <$true | $false>
This parameter specifies whether all messages that are sent through thi
s connector must be transmitted by using Transport Layer Security (TLS)
. The default value is $False.

Parameter required? False
Parameter position? Named
Parameter type System.Boolean
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-SmartHosts <MultiValuedProperty>
This parameter takes one or more FQDNs, such as server.contoso.com, or
one or more IP addresses, separated by commas. If you enter an IP addre
ss, you must enter the IP address as a literal as follows, for example:
10.10.1.1.

Parameter required? False
Parameter position? Named
Parameter type Microsoft.Exchange.Data.MultiValuedProper
ty
Default value
Accept multiple values? True
Accepts pipeline input? False
Accepts wildcard characters? False

-SourceIPAddress <IPAddress>
This parameter specifies the local IP address to use to represent this
computer when you connect to a remote computer The default IP address i
s 0.0.0.0. This tells the server to use any local IP address. This para
meter can only be used when a value is specified in the SourceTransport
Servers parameter.

Parameter required? False
Parameter position? Named
Parameter type System.Net.IPAddress
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

-SourceTransportServers <MultiValuedProperty>
This parameter specifies the transport servers that can use this Send c
onnector. The transport servers are separated by using commas. To speci
fy a value by using this parameter, use the FQDN of a valid transport s
erver.

Parameter required? False
Parameter position? Named
Parameter type Microsoft.Exchange.Data.MultiValuedProper
ty
Default value
Accept multiple values? True
Accepts pipeline input? False
Accepts wildcard characters? False

-UseExternalDNSServersEnabled <$true | $false>
This parameter specifies whether this Send connector should use the ext
ernal DNS list that is specified by using the ExternalDNSServers parame
ter of the Set-TransportServer cmdlet. The default value is $False. The
valid values of this parameter are $True and $False.

Parameter required? False
Parameter position? Named
Parameter type System.Boolean
Default value
Accept multiple values? False
Accepts pipeline input? False
Accepts wildcard characters? False

EXAMPLES

Set-SendConnector "Contoso.com Send Connector" -MaxMessageSize 10MB -ConnectionTimeOut 00:15:00 $CredentialObject = Get-Credential
Set-SendConnector "E-Mail to Contoso.com" -AuthenticationCredential $CredentialObject -AuthMechanism BasicAuth