SCCM 2012 - Change Client Cache Size

Deploying the SCCM Client we can define cache size (default is 5510 Mb SMSCACHESIZE ) otherwise we can change it running an opportune .vbs script like the following:

On Error Resume Next
Dim UIResManager
Dim Cache
Dim CacheSize

CacheSize=10240
Set UIResManager = createobject ("UIResource.UIResourceMgr")
Set Cache=UIResManager.GetCacheInfo()
Cache.TotalSize=CacheSize
Otherwise, if you are interested, you can a custom powershell script at the following link:

http://www.david-obrien.net/2013/02/07/how-to-configure-the-configmgr-client/