![]() $SCCMCacheDir = ($SCCMClient.GetCacheInfo(). Bloomberg clients can download software, including full and upgrade installations, API components, utilities, various fonts and drivers, DCAP and Excel Add-ins. # Get SCCM Client Cache Directory Location $SCCMClient = New-Object -ComObject UIResource.UIResourceMgr Open the SCCM Management console and under Assets and Compliance\Compliance Settings select Configuration Item. ![]() The PowerShell script looks for inactive applications, applications with folders older than the retention range specified (14 days in this example) and misc folders contained within the ccmcache directory which can be removed. ![]() In the below walk through we take you through adding a Configuration Item and Baseline for this purpose. There is a much easier way of maintaining cache directories automatically though, by using a Configuration Baseline to monitor your machines and clear down folder that are either no longer required due to applications being withdrawn or are beyond a retention range for which you could like to set. Typically the way around this is to run a PowerShell command at the machine / collection to clear this down or on the client using the “Delete Files” button on the Cache tab of the SCCM client. Many of you would have found at some point you have had to deal with applications not deploying to due client cache directories being full.
0 Comments
Leave a Reply. |