OneDrive files on demand only for specific libraries

Copper Contributor

Hi! I'm using a script to sync some Sharepoint Libraries with the OneDrive sync client. The script is pushed to out Win10 client through Intune / Endpoint Manager. ( https://github.com/tabs-not-spaces/CodeDump/blob/master/Sync-SharepointFolder/Sync-SharepointFolder.... ).


The script is working fine and the libraries are synced. But for an application we're using it's nessecary that some of those libraries are set to 'always keep on this device' so that all files are allways cached locally on the device.

 

I'm looking for an solution where I can set the option 'always keep on this device' for specific synced folders/libraries. Does anyone know how to achieve this?

 

Thank you!

0 Replies