web analytics

Blog

How to modify Configuration Manager Client Cache Size

Posted by:

To modify Configuration Manager Client Cache Size

  1. Query CacheConfig WMI class in Root\CCM\SoftMgmtAgent namespace
  2. Set the correct value for SIZE property
  3. Save the instance
  4. Restart CCMEXEC service

Examples

Example Output

Set-CMClientCacheSize_Sample_Output

You can download the code examples from here



About the Author:

Kaido Järvemets is a developer, consultant, trainer specializing in Microsoft System Center Configuration Manager and PowerShell Solutions at Coretech. Kaido frequently speaks at European conferences and had his US debut as speaker at MMS April 2013. Kaido is well-known in the Configuration Manager communities where he’s a key player in the PowerShell game. Kaido host one of the most complete Configuration Manager PowerShell library’s in the world with hundreds of free code samples ready to download and implement – www.cm12sdk.net. Kaido has been awarded Microsoft Most Valuable Professional (MVP) in Microsoft Enterprise Client Management for his work with Configuration Manager from 2011 – to present. Kaido is the founder of System Center User Group Estonia in 2011.

Discussion

  1. Stephen  August 27, 2015

    Is there a benefit to completing the task the way you did over using the following?

    $CCM = New-Object -ComObject UIResource.UIResourceMGR
    ($CCM.GetCacheInfo()).TotalSize = 10240

    (reply)
  2. Joel EG  November 3, 2015

    Hi,
    I would like to know more about a Global Condition to evaluate the SCCM Client cache size.
    My goal is to accomplish this in order to proceed with the installation of a software that will require an increase of cache on the client but the software should not be downloaded if the condition is False.

    If I use the WMI query: Get-WmiObject -Namespace ROOT\CCM\SoftMgmtAgent -Class CacheConfig it will give me the information about the size but I don’t know if the same query can be used on a Global Condition or how can I integrate it.

    (reply)

Add a Comment