Not sure what you mean by ‘pull a folder’. Copy?
Here’s the Powershell command to copy a directory:
Copy-Item -Path "C:\source\folder" -Destination "D:\destination" -Recurse
Modify to your use case!
So, I have a folder in OneDrive of my company. But, everytime I try to download the huge structure it fails. I was wondering if there is any command to copy the whole structure.
Have you tried the command above? What about the OneDrive desktop app? (I know you want command line but I’m just checking)
Yeah, I ended up just signing in to onedrive on the desktop. I initially did not want to sign in, but I was forced to anyway.
If you right-click on a OneDrive folder (or subfolder), you can choose to have it always keep a local copy.
After that, you’ll have much more success doing things to these files (such as bulk copy) that normally work just fine on regular local folders.
Yeah, I ended up doing this. I initially did not want to sign in, but I was forced to anyway.