Skip to content

Commit b9ac2e0

Browse files
authored
Update Add-SPMTTask.md
1 parent 90eba91 commit b9ac2e0

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

spmt/spmt-ps/spmt/Add-SPMTTask.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,46 @@ Json sample for SharePoint migration(whole site):
9090
"SourcePath":"http://YourOnPremSite/subsite2",
9191
"TargetPath":"https://YourTargetSite/targetSubSite2"
9292
}
93+
Json sample with task level setting:
94+
{
95+
"Tasks": [
96+
{
97+
"SourcePath": "http://YourOnPremServerSiteURL",
98+
"TargetPath": "https://YourTargetSiteURL",
99+
"Items": {
100+
"Lists": [
101+
{
102+
"SourceList": "SourceListName",
103+
"TargetList": "TargetListName"
104+
}
105+
],
106+
"SubSites": []
107+
},
108+
"Settings": {
109+
"MigrateFileVersionHistory": true,
110+
"KeepFileVersions": 100,
111+
"MigrateHiddenItems": false,
112+
"MigrateItemsCreatedAfter": "yyyy-MM-dd",
113+
"MigrateItemsModifiedAfter": "yyyy-MM-dd",
114+
"SkipFilesWithExtensions": "txt:mp3:OtherFileExtentionsYouwantSkip",
115+
"EnableAzureDirectoryLookup": false,
116+
"PreservePermission": true,
117+
"UseCustomAzureStorage": false,
118+
"CustomAzureStorageAccount": null,
119+
"CustomAzureAccessKey": null,
120+
"CustomAzureDeletionAfterMig": false,
121+
"UserMappingCSVFile": null,
122+
"SkipListWithAudienceEnabled": true,
123+
"EnableIncremental": false,
124+
"MigrateOneNoteNotebook": true,
125+
"MigrateAllWebStructures": false,
126+
"FilterOutPathSpecialCharacters": false
127+
}
128+
}
129+
]
130+
}
131+
132+
Note: Datetime format is "yyyy-MM-dd"
93133
```
94134
## EXAMPLES
95135

0 commit comments

Comments
 (0)