Forum Discussion

OlivierKipLucrasoft's avatar
OlivierKipLucrasoft
Copper Contributor
Feb 12, 2025

Automation: Powershell Force OneDrive to Re Sync if there is a Sync Error noted

I am working for the MSP Lucrasoft, we use an RMM to automate powershell scripts to workdevices to monitor them.

We get a lot of "OneDrive for Business, error with syncing" alerts. What I always see is that if OneDrive is restarted (manually) the sync is done again and the error is solved.

Do people have a powershell script to "re sync", a script that we can initialize when an alert like this is coming up. So we don't have to manually restart or reïnstall onedrive to solve it

No RepliesBe the first to reply

Resources