Skip to content

Commit 4feb813

Browse files
authored
Update Remove-SPMTTask.md
1 parent 76f0988 commit 4feb813

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

spmt/spmt-ps/spmt/Remove-SPMTTask.md

Lines changed: 8 additions & 8 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: Remove-SPMTTask
6-
online version:
7-
schema: 2.0.0
4+
Applicable: SharePoint Migration Tool
5+
Title: Remove-SPMTTask
6+
Online version:
7+
Schema: 2.0.0
88
---
99

1010
# Remove-SPMTTask
@@ -51,11 +51,11 @@ Register-SPMTMigration -SPOCredential $Global:SPOCredential -Force
5151
Add-SPMTTask -SharePointSourceCredential $Global:SPCredential -SharePointSourceSiteUrl $Global:SourceSiteUrl -TargetSiteUrl $Global:SPOUrl -MigrateAll
5252
Add-SPMTTask -FileShareSource $Global:FileshareSource -TargetSiteUrl $Global:SPOUrl -TargetList "Documents"
5353
#Start Migration#
54-
Start-SPMTMigration
55-
PS C:\Users\YourUserName> Remove-SPMTTask -TaskID XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX -Force
54+
Start-SPMTMigration -NoShow
55+
Remove-SPMTTask -TaskID XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX -Force
5656
```
5757

58-
Remove an existing migration task from the migration. Remember to replace the "XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" with your actual TaskID. You can get the Task ID in the console if the migration is running in the foregrund. If the migration is running in the background with -NoShow parameter, then find TaskID after running "Get-SPMTMigration" first.
58+
Remove an existing migration task from the migration. Remember to replace the "XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" with your actual TaskID. You can get the TaskID in the console if the migration is running without -NoShow parameter. If the migration is running with -NoShow parameter, then find the TaskID after running "Get-SPMTMigration" first.
5959
## PARAMETERS
6060

6161
### -Force

0 commit comments

Comments
 (0)