@@ -94,13 +94,13 @@ Json sample for SharePoint migration(whole site):
94
94
95
95
## DESCRIPTION
96
96
Add a new migration task to the registered migration session.
97
- Currently there are three different types of tasks allowed: File share task, SharePoint task and a JSON defined task.
97
+ Currently there are three different types of tasks allowed: File share task, SharePoint task and JSON defined task.
98
98
99
99
## EXAMPLES
100
100
101
101
### Example 1
102
102
```
103
- #Define On-prem SharePoint 2013 data source#
103
+ #Define SharePoint 2013 data source#
104
104
105
105
$Global:SourceSiteUrl = "http://YourOnPremSite/"
106
106
$Global:OnPremUserName = "Yourcomputer\administrator"
@@ -116,23 +116,23 @@ $Global:PassWord = ConvertTo-SecureString -String "YourSPOPassword" -AsPlainText
116
116
$Global:SPOCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Global:UserName, $Global:PassWord
117
117
$Global:TargetListName = "TargetListName"
118
118
119
- #Define Fileshare data source#
119
+ #Define Fileshare data source#
120
120
$Global:FileshareSource = "YourFileShareDataSource"
121
121
#Import SPMT Migration Module#
122
122
Import-Module Microsoft.SharePoint.MigrationTool.PowerShell
123
123
#Register the SPMT session with SPO credentials#
124
124
Register-SPMTMigration -SPOCredential $Global:SPOCredential -Force
125
- #Add two tasks into the session. One on-prem and one file share task.#
125
+ #Add two tasks into the session. One is SharePoint migration task, and another is File Share migration task.#
126
126
Add-SPMTTask -SharePointSourceCredential $Global:SPCredential -SharePointSourceSiteUrl $Global:SourceSiteUrl -TargetSiteUrl $Global:SPOUrl -MigrateAll
127
- Add-SPMTTask -FileShareSource $Global:FileshareSource -TargetSiteUrl $Global:SPOUrl -TargetList "Documents"
127
+ Add-SPMTTask -FileShareSource $Global:FileshareSource -TargetSiteUrl $Global:SPOUrl -TargetList $Global:TargetListName
128
128
```
129
129
130
130
Add one file share migration task and one on-prem 2013 migration task to registered migration session.
131
131
132
132
## PARAMETERS
133
133
134
134
### -FileShareSource
135
- This parameter is mandatory for file share migration. Please specify the source folder path. For example: C:\SourceFiles.
135
+ This parameter is mandatory for File Share migration. Please specify the source folder path. For example: C:\SourceFiles.
136
136
137
137
``` yaml
138
138
Type : String
@@ -176,8 +176,8 @@ Accept pipeline input: False
176
176
Accept wildcard characters : False
177
177
` ` `
178
178
179
- ### -SharePointSourceCredential
180
- This is a switch parameter. If set to True, all lists will be migrated. If set to False, the customer will migrate selected lists.
179
+ ### -SharePointSourceCredential
180
+ Use this parameter to define SharePoint 2013 sign-in credentials.
181
181
182
182
` ` ` yaml
183
183
Type : PSCredential
@@ -219,7 +219,7 @@ Accept wildcard characters: False
219
219
` ` `
220
220
221
221
### -SourceList
222
- This parameter is mandatory and defines source document library name or list name.
222
+ This parameter is mandatory and is to define source document library name or list name.
223
223
224
224
` ` ` yaml
225
225
Type : String
@@ -234,7 +234,7 @@ Accept wildcard characters: False
234
234
` ` `
235
235
236
236
### -SourceListRelativePath
237
- This parameter is optional and is to define one or more migration data source relative paths .
237
+ This parameter is optional and is to define data source relative path .
238
238
239
239
` ` ` yaml
240
240
Type : String
@@ -249,7 +249,7 @@ Accept wildcard characters: False
249
249
` ` `
250
250
251
251
### -TargetList
252
- This parameter is mandatory and defines target library name or list name.
252
+ This parameter is mandatory and is to define target library name or list name.
253
253
254
254
` ` ` yaml
255
255
Type : String
@@ -264,8 +264,7 @@ Accept wildcard characters: False
264
264
` ` `
265
265
266
266
### -TargetListRelativePath
267
- This parameter is optional. You can define one or more target relative paths in a list and make the value to this parameter.
268
-
267
+ This parameter is optional and is to define target relative path.
269
268
` ` ` yaml
270
269
Type : String
271
270
Parameter Sets : FileShare, SharePointMigrateSelected
@@ -279,7 +278,7 @@ Accept wildcard characters: False
279
278
` ` `
280
279
281
280
### -TargetSiteUrl
282
- This parameter is mandatory for both file share and on-prem migration and defines the target site URL.
281
+ This parameter is mandatory for both File Share and SharePoint migration and is to define the target site URL.
283
282
284
283
` ` ` yaml
285
284
Type : String
@@ -305,4 +304,3 @@ Accept wildcard characters: False
305
304
## NOTES
306
305
307
306
## RELATED LINKS
308
-
0 commit comments