Skip to content

Commit f0fcd1f

Browse files
authored
Merge pull request #4745 from jgfgoncalves/patch-1
Update Move-PnPFile.md
2 parents 37b1d43 + 030f06b commit f0fcd1f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
136136

137137
### Contributors
138138

139+
- [jgfgoncalves]
139140
- Stephen Cox [stephen-cox-nzx]
140141
- Marijn Somers [Marijnsomers]
141142
- Janne Holm [jhholm]

documentation/Move-PnPFile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Moves a folder named Archive located in the document library named "Shared Docum
5757
```powershell
5858
$job = Move-PnPFile -SourceUrl "Shared Documents/company.docx" -TargetUrl "SubSite2/Shared Documents" -NoWait
5959
$jobStatus = Receive-PnPCopyMoveJobStatus -Job $job
60-
if($jobStatus.JobState == 0)
60+
if($jobStatus.JobState -eq 0)
6161
{
6262
Write-Host "Job finished"
6363
}

0 commit comments

Comments
 (0)