Skip to content

Commit 82b9747

Browse files
authored
Update Start-SPMTMigration.md
1 parent c75fefa commit 82b9747

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

spmt/spmt-ps/spmt/Start-SPMTMigration.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This cmdlet will start the registered SPMT migration.
2424

2525
### Example 1
2626
```
27-
#Define On-prem SharePoint 2013 data source#
27+
#Define SharePoint 2013 data source#
2828
2929
$Global:SourceSiteUrl = "http://YourOnPremSite/"
3030
$Global:OnPremUserName = "Yourcomputer\administrator"
@@ -40,20 +40,24 @@ $Global:PassWord = ConvertTo-SecureString -String "YourSPOPassword" -AsPlainText
4040
$Global:SPOCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Global:UserName, $Global:PassWord
4141
$Global:TargetListName = "TargetListName"
4242
43-
#Define Fileshare data source#
43+
#Define File Share data source#
4444
$Global:FileshareSource = "YourFileShareDataSource"
45+
4546
#Import SPMT Migration Module#
4647
Import-Module Microsoft.SharePoint.MigrationTool.PowerShell
48+
4749
#Register the SPMT session with SPO credentials#
4850
Register-SPMTMigration -SPOCredential $Global:SPOCredential -Force
49-
#Add two tasks into the session. One on-prem and one file share task.#
51+
52+
#Add two tasks into the session. One is SharePoint migration task, and another is File Share migration task.#
5053
Add-SPMTTask -SharePointSourceCredential $Global:SPCredential -SharePointSourceSiteUrl $Global:SourceSiteUrl -TargetSiteUrl $Global:SPOUrl -MigrateAll
51-
Add-SPMTTask -FileShareSource $Global:FileshareSource -TargetSiteUrl $Global:SPOUrl -TargetList "Documents"
52-
#Start Migration#
54+
Add-SPMTTask -FileShareSource $Global:FileshareSource -TargetSiteUrl $Global:SPOUrl -TargetList $Global:TargetListName
55+
56+
#Start Migration in the console.#
5357
Start-SPMTMigration
5458
```
5559

56-
Start a migration with one SharePoint migration task and one File Share migration task.
60+
Start a migration with one SharePoint migration task and one File Share migration task.
5761

5862
## PARAMETERS
5963

0 commit comments

Comments
 (0)