Process similar to Windows Storage Sense to free up locally used storage for files not opened for x days which are synced in OneDrive or SharePoint. Storage Sense isn't native to Windows Enterprise multi-session, so any other way of accomplishing this would be helpful for VMs which have OneDrive/SharePoint syncs to keep storage usage in check.
OneDrive & SharePoint Local Storage Cleanup
1
Welcome to the community, Nate Herr ๐!
I haven't seen any Microsoft supported solutions, yet, but I was able to find a few Tech Community solutions that may do what you're wanting.
https://techcommunity.microsoft.com/discussions/azurevirtualdesktopforum/onedrive-with-fslogix-in-an-avd-environment-how-to-prevent-profile-bloat/3690444/replies/3824475

ย

ย
Just for another option, it looks like the Nerdio Sales Engineering team has a script you can try out as well. ๐
NMM-SE/Scripted Actions/Cleanup-OneDrive_Files-Adv.ps1 at main ยท Get-Nerdio/NMM-SE
Appreciate it, Dave! Will give those a try and will post back with any other questions.ย
Please sign in to leave a comment.
Comments (3 comments)