Use the Add-SharePointDocument cmdlet to migrate data from Domino Document Libraries into a SharePoint list based on Microsoft Windows SharePoint Services.

Add-SharePointDocument -TargetSharePointList <String> [-ExcludeAttachments <SwitchParameter>] [-MaxThreadCount <UInt32>] [-Quiet <SwitchParameter>] [-SharePointMapFile <String>] [-TargetCredential <PSCredential>] [-TargetMapping <String>] [-TargetMode <String>] [-TargetSharePointServer <String>] [-TargetSharePointSite <String>] [-TransporterObject <IAlienDataObject>]

Parameters

Parameter Required Type Description

TargetSharePointList

Required

System.String

Name of the SharePoint list where the data will be migrated, such as "Shared Documents."

ExcludeAttachments

Optional

System.Management.Automation.SwitchParameter

Prevents attachments from migrating.

MaxThreadCount

Optional

System.UInt32

Maximum number of threads allocated to this task.

Quiet

Optional

System.Management.Automation.SwitchParameter

Suppresses feedback during task actions.

TargetCredential

Optional

System.Management.Automation.PSCredential

Active Directory directory service account used to write the migrated information to the SharePoint site.

TargetMapping

Optional

System.String

Identifies the type of list that will be created:

DocumentLibrary

or

DiscussionDatabase

or

GenericList

TargetMode

Optional

System.String

Defines how to handle duplicate data.

Merge does not copy information over if it already exists.

Purge deletes content from the target list and then migrates data.

TargetSharePointServer

Optional

System.String

Name of the SharePoint server where the target list is located. For example, sharepoint01.contoso.com

TargetSharePointSite

Optional

System.String

URL or name of the SharePoint site where the target list is located. For example, http://sharepoint01.contoso.com/SiteName or SiteName

TransporterObject

Optional

Microsoft.Exchange.Transporter.IAlienDataObject

Application metadata object passed in from the Get-DominoApplication cmdlet.

Detailed Description

The Add-SharePointDocument cmdlet moves data from Domino Document Library applications to existing SharePoint lists. This action preserves the hierarchy and content of the information stored in the Document Library. This cmdlet requires information to be passed to it via a shell variable or other piped command.

To run the Add-SharePointDocument cmdlet, the account you use must be delegated Full Control Administrator role in Windows SharePoint Services.

Input Types

IAlienDataObject

Return Types

None.

Example

The following example creates a SharePoint list named DocLib and populates the list with data passed from the shell variable $App. Detailed information about the process is returned.

  Copy Code
Add-SharePointDocument -TargetSharePointList -TransporterObject $App "DocLib" -Verbose