File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sharepoint/sharepoint-ps/sharepoint-pnp Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ This will add a file sample.docx to the Documents folder and will set the Modifi
92
92
93
93
### ------------------EXAMPLE 7------------------
94
94
``` powershell
95
- Add-PnPFile -FileName sample.docx -Folder "Documents" -NewFileName "differentname.docx"
95
+ Add-PnPFile -Path sample.docx -Folder "Documents" -NewFileName "differentname.docx"
96
96
```
97
97
98
98
This will upload a local file sample.docx to the Documents folder giving it the filename differentname.docx on SharePoint
@@ -335,4 +335,4 @@ Accept pipeline input: False
335
335
336
336
## RELATED LINKS
337
337
338
- [SharePoint Developer Patterns and Practices](https://aka.ms/sppnp)
338
+ [SharePoint Developer Patterns and Practices](https://aka.ms/sppnp)
You can’t perform that action at this time.
0 commit comments