UsetheAdd-SharePointItem cmdlet to migrate data from Domino Discussions and custom applications into a SharePoint list in Microsoft Windows SharePoint Services.

Add-SharePointItem -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

Indicates the 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 server running Windows SharePoint Services 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-SharePointItem cmdlet moves data from Domino Discussions and custom applications to existing SharePoint lists. This action preserves the hierarchy and content of the information stored in the applications. The cmdlet requires that information passes to it via a shell variable or other piped command.

To migrate Domino Document Libraries, use the Add-SharePointDocument cmdlet.

To run the Add-SharePointItem 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 HRDiscuss and populates the list with data passed from the shell variable $App. Detailed information about the process is returned.

  Copy Code
Add-SharePointItem -TargetSharePointList -TransporterObject $App "HRDiscuss" -Verbose