Skip to content

Commit

Permalink
Merge pull request pnp#4745 from jgfgoncalves/patch-1
Browse files Browse the repository at this point in the history
Update Move-PnPFile.md
  • Loading branch information
KoenZomers authored Feb 27, 2025
2 parents 37b1d43 + 030f06b commit f0fcd1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

### Contributors

- [jgfgoncalves]
- Stephen Cox [stephen-cox-nzx]
- Marijn Somers [Marijnsomers]
- Janne Holm [jhholm]
Expand Down
2 changes: 1 addition & 1 deletion documentation/Move-PnPFile.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Moves a folder named Archive located in the document library named "Shared Docum
```powershell
$job = Move-PnPFile -SourceUrl "Shared Documents/company.docx" -TargetUrl "SubSite2/Shared Documents" -NoWait
$jobStatus = Receive-PnPCopyMoveJobStatus -Job $job
if($jobStatus.JobState == 0)
if($jobStatus.JobState -eq 0)
{
Write-Host "Job finished"
}
Expand Down

0 comments on commit f0fcd1f

Please sign in to comment.