Skip to content

Commit ae7f37f

Browse files
authored
Update Add-SPMTTask.md
1 parent 2a1d209 commit ae7f37f

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

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

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
external help file: Microsoft.SharePoint.MigrationTool.PowerShell.dll-Help.xml
2+
External help file: Microsoft.SharePoint.MigrationTool.PowerShell.dll-Help.xml
33
Module Name: Microsoft.SharePoint.MigrationTool.PowerShell
4-
applicable: SharePoint Migration Tool
5-
title: Add-SPMTTask
6-
online version:
7-
schema: 2.0.0
4+
Applicable: SharePoint Migration Tool
5+
Title: Add-SPMTTask
6+
Online version:
7+
Schema: 2.0.0
88
---
99

1010
# Add-SPMTTask
1111

1212
## SYNOPSIS
13-
Add a new migration task to the registered migration session. Currently there are three different types of tasks allowed: File share task, SharePoint task and JSON defined task.
13+
Add a new migration task to the registered migration session. Currently there are three different types of tasks allowed: File Share task, SharePoint task and JSON defined task.
1414
## SYNTAX
1515

1616
### FileShare
@@ -94,7 +94,7 @@ 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 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

@@ -116,18 +116,20 @@ $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 File Share data source#
120120
$Global:FileshareSource = "YourFileShareDataSource"
121+
121122
#Import SPMT Migration Module#
122123
Import-Module Microsoft.SharePoint.MigrationTool.PowerShell
124+
123125
#Register the SPMT session with SPO credentials#
124126
Register-SPMTMigration -SPOCredential $Global:SPOCredential -Force
127+
125128
#Add two tasks into the session. One is SharePoint migration task, and another is File Share migration task.#
126129
Add-SPMTTask -SharePointSourceCredential $Global:SPCredential -SharePointSourceSiteUrl $Global:SourceSiteUrl -TargetSiteUrl $Global:SPOUrl -MigrateAll
127130
Add-SPMTTask -FileShareSource $Global:FileshareSource -TargetSiteUrl $Global:SPOUrl -TargetList $Global:TargetListName
128131
```
129-
130-
Add one file share migration task and one on-prem 2013 migration task to registered migration session.
132+
Add one File Share migration task and one SharePoint 2013 migration task to the registered migration session.
131133

132134
## PARAMETERS
133135

0 commit comments

Comments
 (0)