Bewerken

Delen via


Get-OutboundConnector

This cmdlet is available only in the cloud-based service.

Use the Get-OutboundConnector cmdlet to view the configuration information for an Outbound connector in your cloud-based organization.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

Get-OutboundConnector
   [[-Identity] <OutboundConnectorIdParameter>]
   [-IncludeTestModeConnectors <Boolean>]
   [-IsTransportRuleScoped <Boolean>]
   [-ResultSize <Unlimited>]
   [<CommonParameters>]

Description

Outbound connectors send email messages to remote domains that require specific configuration options.

You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.

Examples

Example 1

Get-OutboundConnector "Contoso Outbound Connector" | Format-List

This example displays detailed information about the Outbound connector named Contoso Outbound Connector.

Parameters

-Identity

The Identity parameter specifies the Outbound connector that you want to view. You can use any value that uniquely identifies the connector. For example:

  • Name
  • Distinguished name (DN)
  • GUID
Type:OutboundConnectorIdParameter
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Exchange Online, Exchange Online Protection

-IncludeTestModeConnectors

The IncludeTestModeConnectors parameter filters the results by Outbound connectors that are in test mode. Valid values are:

  • $true: Only Outbound connectors that are in test mode are returned in the results.
  • $false: All Outbound connectors that aren't in test mode are returned in the results. This is the default value.

You configure an Outbound connector in test mode by using the TestMode parameter on the New-OutboundConnector or Set-OutboundConnector cmdlets.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online, Exchange Online Protection

-IsTransportRuleScoped

The IsTransportRuleScoped parameter filters the results by Outbound connectors that are scoped to transport rules (also known as mail flow rules). Valid values are:

  • $true: Only Outbound connectors that are scoped to transport rules are returned in the results.
  • $false: All Outbound connectors that aren't scoped to transport rules are returned in the results. This is the default value.

You scope a transport rule to a specific Outbound connector by using the RouteMessageOutboundConnector parameter on the New-TransportRule or Set-TransportRule cmdlets.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online, Exchange Online Protection

-ResultSize

The ResultSize parameter specifies the maximum number of results to return. If you want to return all requests that match the query, use unlimited for the value of this parameter. The default value is 1000.

Type:Unlimited
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online, Exchange Online Protection

Inputs

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.

Outputs

Output 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.