Skip to main content
Solved

Free up space OneDrive Command

  • January 4, 2022
  • 3 replies
  • 52 views

Forum|alt.badge.img+3

Hello everyone,

Does anyone know the command that will run the 'Free up space' command for the OneDrive folder.

I want to run it after a user has logged out, just wanting to know if this is possible first.

Thanks, Browner.

Best answer by AJPinto

This is something I would check with Microsoft on.

 

This may help, but I don't see anything specifically about any CLI interface.

https://docs.microsoft.com/en-us/onedrive/deploy-and-configure-on-macos

 

3 replies

AJPinto
Forum|alt.badge.img+26
  • Legendary Contributor
  • 2802 replies
  • Answer
  • January 4, 2022

This is something I would check with Microsoft on.

 

This may help, but I don't see anything specifically about any CLI interface.

https://docs.microsoft.com/en-us/onedrive/deploy-and-configure-on-macos

 


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 2 replies
  • January 4, 2022

This is something I would check with Microsoft on.

 

This may help, but I don't see anything specifically about any CLI interface.

https://docs.microsoft.com/en-us/onedrive/deploy-and-configure-on-macos

 


Thank you, that article led me to this. 

Set Files On-Demand states on Mac - OneDrive | Microsoft Docs

This seems like it is doable, just needs some tinkering.

Thanks!


daniel_ross
Forum|alt.badge.img+18
  • Jamf Heroes
  • 203 replies
  • January 11, 2022

Thank you, that article led me to this. 

Set Files On-Demand states on Mac - OneDrive | Microsoft Docs

This seems like it is doable, just needs some tinkering.

Thanks!


Great find and I'm going to have to try some of these myself!