1

I really need help in this subject because I have a VBA script running and I want powershell to run my VBA script and then upload the data to SharePoint. Can someone please help me?. I also use SharePoint online management PowerShell.

2

The pnp powershell library has a cmdlet for this: add-pnpfile. See example #3 in the docs here:

Add-PnPFile -Path .\sample.doc -Folder "Shared Documents" -Values @{Modified="1/1/2016"}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.