Forum Discussion
Nigel_Price9911
Mar 27, 2017Iron Contributor
PnP-Powershell to upload files into Document Sets
Hi Has anyone seen any PnP-PowerShell to upload a) a file in Windows filestore into an existing document set or b) upload multiple files in Windows filestore into an existing document set ? I ca...
Mar 27, 2017
Hi Nigel_Price9911,
Have you tried adding the fiels in the same way as you would do with a folder?
So with Add-PnPFile something like this:
PS:> Add-PnPFile -Path .\sample.doc -Folder "Shared Documents/DocumentSetName"