none
Can I Pause/Resume OneDrive Sync function via Powershell? RRS feed

  • General discussion


  • I use Powershell to process some files that happen to be synced to OneDrive for Business. Part of the processing involves changing some file names, then changing them back. If OneDrive's Sync function is active, it will wreck havoc with the script as the Sync function reacts to the file name changes. Current workaround is to manually "Pause" OneDrive Sync via the toolbox, run the script, then manually "Resume" Onedrive sync. I need this to be automated. Is there any way to perform a Pause/Resume the OneDrive Sync function from within a PowerShell script??? 

    Friday, December 12, 2014 5:03 PM

All replies