Use the Add-SharePointApplication cmdlet to create a SharePoint list in Microsoft Windows SharePoint Services where data can be migrated to at a later time.
Add-SharePointApplication -TargetSharePointList <String> [-ExcludeAcls <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 to, such as "Shared Documents." |
ExcludeAcls |
Optional |
System.Management.Automation.SwitchParameter |
Prevents access control lists (ACLs) 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. |
SharePointMapFile |
Optional |
System.String |
Not supported. |
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 |
Identify the type of SharePoint 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 where the target SharePoint 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-SharePointApplication cmdlet creates a SharePoint list to which data can be migrated. This cmdlet requires information to be passed to it via a shell variable or other piped command.
To run the Add-SharePointApplication 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 metadata passed from the shell variable $App. Detailed information about the process is returned.
Copy Code | |
---|---|
Add-SharePointApplication -TargetSharePointList -TransporterObject $App "DocLib" -Verbose |