Skip to content

Commit 10aa719

Browse files
Update Invoke-SPOMigrationEncryptUploadSubmit.md
Added a code example and a also a link to the steps to create an import package.
1 parent 59dd6e4 commit 10aa719

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Invoke-SPOMigrationEncryptUploadSubmit.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,16 @@ Invoke-SPOMigrationEncryptUploadSubmit -Credentials <CredentialCmdletPipeBind> [
3131

3232
### Example 1
3333
```
34-
PS C:\> {{ Add example code here }}
34+
PS C:\> $sourceFiles = "C:\sourceFiles"
35+
PS C:\> $spoPackagePath = "C:\packagePath"
36+
PS C:\> $credentials = Get-Credential
37+
PS C:\> $targetweburl = "https://contoso.sharepoint.com"
38+
PS C:\> Invoke-SPOMigrationEncryptUploadSubmit -SourceFilesPath $sourceFiles -SourcePackagePath $spoPackagePath -Credentials $credentials -TargetWebUrl $targetweburl
3539
```
3640

37-
{{ Add example description here }}
41+
This example shows how to submit package data to create a new migration job.
42+
43+
This article contains the steps on how to create this package: https://support.office.com/en-us/article/upload-on-premises-content-to-sharepoint-online-using-powershell-cmdlets-555049c6-15ef-45a6-9a1f-a1ef673b867c
3844

3945
## PARAMETERS
4046

0 commit comments

Comments
 (0)