Forum Discussion

youssefch's avatar
youssefch
Copper Contributor
Jun 28, 2019

OneDrive for Business - Upload document using PowerShell

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
    • youssefch's avatar
      youssefch
      Copper Contributor

      jcgonzalezmartin 

       

      I can't understand 

       

      Can you explain more ?

      Best.


      jcgonzalezmartin 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

       

Resources