OneDrive


Feedback by UserVoice

Ewan

My feedback

  1. 224 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Ewan commented  · 

    I wish I could vote more for this.

    We're migrating 12,000 desktops 65TB from NetApp (Documents redirection with offline cache) to OneDrive, and leveraging the NGSC OneDrive Sync client -- and there are lots of pain points. One of the biggest is no systematic way monitor the sync client status/health. We desperately need posh sync client module.

    For other folks, this helped immensily -- Rodney Viana's Get-ODStatus powershell module which gives us the current status of the OneDrive sync

    Import-module OneDriveLib.dll
    $syncStatus = Get-ODStatus -bypath $env:ONEDRIVE
    $syncStatus
    ### Possible values: Error, Shared, SharedSync, UpToDate, Syncing, ReadOnly, NotInstalled

    https://blogs.msdn.microsoft.com/rodneyviana/2017/06/06/powershell-cmdlet-to-check-onedrive-for-business-or-onedrive-personal-status/

    There are some real positives doing this in late-2017 though:
    - long file paths, writing 390 char long paths to C: OneDrive works. wow
    - great support for crazy filenames - only problem we've seen are with leading and trailing spaces in filenames ($newName=([System.Web.HttpUtility]::UrlDecode($file.BaseName)).Trim())
    - large files - 15GB max sync size is great
    - and coming soon, SilentAccountConfig - heck yeah!

    Remaining painpoints:
    - no api client endpoints (posh)
    - "cannot access file" crashes (we see when robocopying files into $env:onedrive folders), which explicitly unlink the computer (and which is a real pain when you enforce a standardized OD folder path when most of your users are still using the original default path)

    Cheers all...

    Ewan supported this idea  · 
  2. 89 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    6 comments  ·  OneDrive Archive » OneDrive for Business  ·  Flag idea as inappropriate…  ·  Admin →
    Ewan commented  · 

    2015? You sir are ahead of your time. 2017 and still no client side API endpoints for OneDrive Sync status/controls.

    We're using Rodney Viana's Get-ODStatus - an extremely clever hack to monitor OneDrive sync status - he's sniffing the icon over to derive OneDrive client status. Rodney is a hero in my book for life!

    Before we found this we were writing a flag file and watching the other side to see if the file sync to make assumptions about the client. Ack.

    I'm waiting on baited breath for MSFT to release some OneDriveClient powershell modules - monitor status, get logs, basic controls (pause, restart, etc).

    Anyway, posting this incase someone else stumbles into your prescient post and fine some use in Get-ODStatus.

    https://blogs.msdn.microsoft.com/rodneyviana/2017/06/06/powershell-cmdlet-to-check-onedrive-for-business-or-onedrive-personal-status/

Feedback and Knowledge Base