OneDrive for Business - Upload document using PowerShell

Copper Contributor

I am trying to upload a file (actually copy a file from a local machine) to folder in OneDrive for Business

Unfortunately I have not been able to find any PowerShell examples that can upload a file to OneDrive.

Is it even possible?

 

 

2 Replies
Yes, it is absolutely possible...ODFB is built on top of SPO so same way to upload documents in a SPO document library can be used here

@Juan Carlos González Martín 

 

I can't understand 

 

Can you explain more ?

Best.


@Juan Carlos González Martín wrote:
Yes, it is absolutely possible...ODFB is built on top of SPO so same way to upload documents in a SPO document library can be used here