Skip to content

Commit 77cc5f7

Browse files
authored
Update Unregister-SPMTMigration.md
1 parent 9c8d203 commit 77cc5f7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

spmt/spmt-ps/spmt/Unregister-SPMTMigration.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
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: Unregister-SPMTMigration
6-
online version:
7-
schema: 2.0.0
4+
Applicable: SharePoint Migration Tool
5+
Title: Unregister-SPMTMigration
6+
Online version:
7+
Schema: 2.0.0
88
---
99

1010
# Unregister-SPMTMigration
@@ -50,13 +50,13 @@ Register-SPMTMigration -SPOCredential $Global:SPOCredential -Force
5050
#Add two tasks into the session. One on-prem and one file share task.#
5151
Add-SPMTTask -SharePointSourceCredential $Global:SPCredential -SharePointSourceSiteUrl $Global:SourceSiteUrl -TargetSiteUrl $Global:SPOUrl -MigrateAll
5252
Add-SPMTTask -FileShareSource $Global:FileshareSource -TargetSiteUrl $Global:SPOUrl -TargetList "Documents"
53-
#Start Migration#
54-
Start-SPMTMigration
53+
#Start Migration in the background#
54+
Start-SPMTMigration -NoShow
5555
56-
PS C:\Users\YourUserName> Stop-SPMTMigration
57-
PS C:\Users\YourUserName> Unregister-SPMTMigration
56+
Stop-SPMTMigration
57+
Unregister-SPMTMigration
5858
```
59-
Cancel the started migration and unregister the migration session from the commandline.
59+
Cancel the started migration and unregister the migration session.
6060

6161
## PARAMETERS
6262

0 commit comments

Comments
 (0)