miercuri, 2 februarie 2022

How to use C# or Powershell to prevent a certain OneDrive subfolder from being synced locally on my laptop

 

The OneDrive GUI client allows the user to prevent/uncheck a certain OneDrive subfolder from being synced locally on my laptop.
 
Please see the attached image. I would like the 'BackForTransfer' folder to exist only in OneDrive and not be synced locally on my laptop
 
Another guy is asking a similar question here

 Any idea ? Thank you!