Managing Delivery Optimization Cache with Intune and PowerShell

Syaheko Firman 0 Reputation points
2026-07-03T04:27:12.77+00:00

In our lab environment, a group of test laptops has completely run out of storage because the Delivery Optimization (DO) cache has expanded to more than 40GB. Could you advise on the proper Intune administrative configuration to set a maximum file age limit for the DO cache, and also explain how we can perform a local purge of this data using PowerShell ?

Windows for business | Windows 365 Business
0 comments No comments

1 answer

Sort by: Most helpful
  1. HLBui 8,530 Reputation points Independent Advisor
    2026-07-03T05:09:51.2+00:00

    Hi Syaheko Firman

    The Delivery Optimization (DO) cache can definitely balloon if it’s not managed, so the right move is to set limits through Intune. In the Intune admin center, you’ll want to configure the Delivery Optimization Cache Age policy that lets you define the maximum number of days files can stay in the cache before being automatically cleaned up. Typically, setting it somewhere between 7–30 days keeps things balanced without eating up disk space. For the immediate fix on those lab laptops, you can run PowerShell with Clear-DeliveryOptimizationCache or use Get-DeliveryOptimizationStatus first to confirm what’s stored, then purge it. That’ll free up the space right away, while the Intune policy prevents it from happening again. Think of it as a two‑step approach: quick cleanup now, and guardrails for the future.

    Please "Accept the answer" so that it could be spread further to those in need. Thank you!

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.