OneDrive


Feedback by UserVoice

How can we improve the OneDrive experience on Windows?

Pause Syncing with PowerShell

I would like a way to pause and unpause OneDrive syncing in PowerShell. This would be handy in PowerShell scripts that manipulate files. Sometimes the files get locked if OneDrive is currently syncing them. I would like to be able to script the pause, make my file changes, then unpause when my script is finished.

46 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Todd Klindt shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • James redmore commented  ·   ·  Flag as inappropriate

        Or any powershell endpoints for that matter. No good way to proactively monitor user workstations to ensure sync is running and healthy.

      Feedback and Knowledge Base