Use the Move-NotesPABToExchange cmdlet to add data from Notes personal address book (PAB) files into Microsoft Exchange Server 2007 mailboxes.

Move-NotesPABToExchange -SourceFileName <String> -ContentOwner <String> -DominoMailDomain <String> [-Confirm [<SwitchParameter>]] [-GlobalCatalog <String>] [-MaxThreadCount <UInt32>] [-NotesIniPath <String>] [-Quiet <SwitchParameter>] [-SourceCredential <PSCredential>] [-SourceMapping <String>] [-TargetClientAccessServer <String>] [-TargetCredential <PSCredential>] [-TargetMailboxDatabase <String>] [-TargetMapping <String>] [-WhatIf [<SwitchParameter>]]

Parameters

Parameter

Required

Type

Description

ContentOwner

Required

System.String

Use the ContentOwner parameter to specify the e-mail address of the person to whom this content belongs. This parameter is necessary for any content that you expect to move to an Exchange server and must match the proxy address of an existing Active Directory user.  Example: Mike Danseglio/contoso@contoso, MikeD@contoso.com.

The default behavior is for the content owner of each item to be specified as <null>.

DominoMailDomain

Required

System.String

The DominoMailDomino parameter specifies the Domino mail domain that should be associated with the extracted mail items.

SourceFileName

Required

System.String

Use the SourceFileName parameter to specify the name of the file to be extracted. This name should be specified in one of the following formats:

Fully qualified path

UNC path

Relative path to the current directory

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm parameter causes the command to pause processing and requires the administrator to acknowledge what the command will do before processing continues.

GlobalCatalog

Optional

System.String

The GlobalCatalog parameter identifies the Active Directory server.

DomainController

Optional

System.String

The DomainController parameter specifies the target domain controller for write operations.

By default, a referral is made.

MaxThreadCount

Optional

System.UInt32

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

NotesIniPath

Optional

System.String

The NotesIniPath parameter should be in the form of a full file path to the ini file that the user wants to use to launch the Notes client.

If this parameter is left blank, the notes.ini that is in the install directory is specified.

Quiet

Optional

System.Management.Automation.SwitchParameter

The Quiet parameter suppresses feedback during task actions.

SourceCredential

Optional

System.Management.Automation.PSCredential

The SourceCredential parameter specifies the credential to use for authentication to the source platform.

The name of the ID file is read from the notes.ini and checks whether a PS credential of that name is stored in the engine.

SourceFileName

Required

System.String

Use the SourceFileName parameter to specify the name of the file to be extracted. This name should be specified in one of the following formats:

  • Fully qualified path

  • UNC path

  • Relative path to the current directory

SourceMapping

Optional

System.String

The SourceMapping parameter specifies a custom mapfile that defines how the attributes in the object schema are mapped from the source schema.

TargetClientAccessServer

Optional

System.String

The TargetClientAccessServer parameter specifies the Exchange Client Access server. Itcan be specified in either FQDN or URI format.  If specified, this parameter overrides the autodiscovery process and uses only the server specified to access the target technology.

The default behavior is to use autodiscovery.

TargetCredential

Optional

System.Management.Automation.PSCredential

The TargetCredential parameter allows the administrator to specify alternative credentials to connect to the target platform.

TargetMailboxDatabase

Optional

System.String

The TargetMailboxDatabase parameter specifies the Exchange mail database to create new mailboxes in. One of the following "friendly" names: database name; server name\database name; server name\storage group\database name.  If specified, it implies that mailboxes should be created.

By default, a mailbox is not created if one doesn't exist.

TargetMapping

Optional

System.String

The TargetMapping parameter identifies the type of list that will be created:

DocumentLibrary

or

DiscussionDatabase

or

GenericList

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, the administrator can view what changes would occur without having to apply any of those changes.

Detailed Description

The Move-NotesPABToExchange cmdlet adds data from Notes PAB files into Exchange 2007 mailboxes.

To run the Move-NotesPABToExchange 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 specified Personal Address Book file.

For related information, see Mail Migration Prerequisites.

Example

The following code extracts contacts from the file "MyPAB.nsf" and injects them into the Exchange 2007 mailbox that belongs to "cowner@domain.com".

  Copy Code
Move-NotesPABToExchange -SourceFileName MyPAB.nsf -ContentOwner cowner@domain.com