Forum Discussion

TimButterworth's avatar
TimButterworth
Copper Contributor
Oct 07, 2020

Finding files with long paths that crash OneDrive

Hi All,   We have experienced an occasional problem where our users save files into a deep folder structure in their locally stored OneDrive and the file path is too long for OneDrive in the cloud....
  • VasilMichev's avatar
    Oct 07, 2020

    You can certainly generate a recursive list of files via PowerShell, even include a "path length" calculated property if needed. I'm sure there are sample scripts available online, look them up. If you cannot find anything, I'll circle back and post an example once I'm in front of a real PC.

Resources