Skip to content

Commit f263fab

Browse files
authored
Update Add-SPMTTask.md
1 parent 0461ff5 commit f263fab

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

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

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ Json sample for SharePoint migration(whole site):
9494

9595
## DESCRIPTION
9696
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.
9898

9999
## EXAMPLES
100100

101101
### Example 1
102102
```
103-
#Define On-prem SharePoint 2013 data source#
103+
#Define SharePoint 2013 data source#
104104
105105
$Global:SourceSiteUrl = "http://YourOnPremSite/"
106106
$Global:OnPremUserName = "Yourcomputer\administrator"
@@ -116,23 +116,23 @@ $Global:PassWord = ConvertTo-SecureString -String "YourSPOPassword" -AsPlainText
116116
$Global:SPOCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Global:UserName, $Global:PassWord
117117
$Global:TargetListName = "TargetListName"
118118
119-
#Define Fileshare data source#
119+
#Define Fileshare data source#
120120
$Global:FileshareSource = "YourFileShareDataSource"
121121
#Import SPMT Migration Module#
122122
Import-Module Microsoft.SharePoint.MigrationTool.PowerShell
123123
#Register the SPMT session with SPO credentials#
124124
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.#
126126
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
128128
```
129129

130130
Add one file share migration task and one on-prem 2013 migration task to registered migration session.
131131

132132
## PARAMETERS
133133

134134
### -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.
136136

137137
```yaml
138138
Type: String
@@ -176,8 +176,8 @@ Accept pipeline input: False
176176
Accept wildcard characters: False
177177
```
178178
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.
181181
182182
```yaml
183183
Type: PSCredential
@@ -219,7 +219,7 @@ Accept wildcard characters: False
219219
```
220220
221221
### -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.
223223
224224
```yaml
225225
Type: String
@@ -234,7 +234,7 @@ Accept wildcard characters: False
234234
```
235235
236236
### -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.
238238
239239
```yaml
240240
Type: String
@@ -249,7 +249,7 @@ Accept wildcard characters: False
249249
```
250250
251251
### -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.
253253
254254
```yaml
255255
Type: String
@@ -264,8 +264,7 @@ Accept wildcard characters: False
264264
```
265265
266266
### -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.
269268
```yaml
270269
Type: String
271270
Parameter Sets: FileShare, SharePointMigrateSelected
@@ -279,7 +278,7 @@ Accept wildcard characters: False
279278
```
280279
281280
### -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.
283282
284283
```yaml
285284
Type: String
@@ -305,4 +304,3 @@ Accept wildcard characters: False
305304
## NOTES
306305
307306
## RELATED LINKS
308-

0 commit comments

Comments
 (0)