Use the Add-ExchangeItem cmdlet to add data from Domino mail databases into Microsoft Exchange Server 2007 mailboxes or Active Directory directory service.

Add-ExchangeItem -TransporterObject <IAlienDataObject> [-Confirm [<SwitchParameter>]] [-GlobalCatalog <String>] [-MaxThreadCount <UInt32>] [-Quiet <SwitchParameter>] [-TargetClientAccessServer <String>] [-TargetCredential <PSCredential>] [-TargetMailboxDatabase <String>] [-TargetMapping <String>] [-TargetMode <String>] [-WhatIf [<SwitchParameter>]]

Parameters

Parameter

Required

Type

Description

TransporterObject

Required

Microsoft.Exchange.Transporter.IAlienDataObject

The TransporterObject parameter is the receptacle for iAlienDataObjects of type message from the pipeline.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm parameter causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You do not have to specify a value with the Confirm parameter.

DomainController

Optional

System.String

The DomainController parameter specifies the Active Directorydomain controller to connect to.

If a value is not specified, a referral will occur to obtain a valid domain controller.

The default parameter value is false.

GlobalCatalog

Optional

System.String

The GlobalCatalog parameter identifies the Active Directory server.

MaxThreadCount

Optional

System.UInt32

The MaxThreadCount parameter Indicates the maximum number of threads allocated to this task.

Quiet

Optional

System.Management.Automation.SwitchParameter

The Quiet parameter suppresses feedback during task actions.

TargetClientAccessServer

Optional

System.String

The TargetClientAccessServer parameter specifies the Exchange Client Access server. This can be specified in either FQDN or URL format.

If specified, this parameter overrides the autodiscovery process and uses only the server specified to access the target.

The default behavior is autodiscovery.

TargetCredential

Optional

System.Management.Automation.PSCredential

 

TargetMailboxDatabase

Optional

System.String

The TargetMailboxDatabase parameter specifies the Exchange mail database to create new mailboxes in. One of the following “friendly” names should be used: database name; server name\database name; or server name\storage group\database name.

If specified, this parameter denotes that mailboxes should be created.

TargetMapping

Optional

System.String

The TargetMapping parameter specifies a custom mapfile, which defines how the attributes in the source object will be mapped to the target schema.

The default behavior is to use the default map.

TargetMode

Optional

System.String

The TargetMode parameter specifies the mode of injection to be used. “Purge” clears the target of any records before beginning the injection. “Merge” checks each item to see if it exists prior to writing it to the target. “Append” copies all records to the target location.

The default behavior is to Merge.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf parameter instructs the command to simulate the actions that it would take on the object. By using the WhatIf parameter, 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 parameter.

Detailed Description

The Add-ExchangeItem cmdlet adds data from Domino mail databases into Exchange 2007 mailboxes.

To run the Add-ExchangeItem cmdlet, you must have the Web services impersonation on the Exchange 2007 server where the mailbox exists. The Notes ID file on the local workstation must have Reader or higher access control list (ACL) access to the Domino Directory and the Domino mail database.

For related information, see Mail Migration Prerequisites.

Input Types

Return Types

Example

Add-ExchangeItem