tamacg.blogg.se

How to clear after effects cache
How to clear after effects cache






Right click on the configuration baseline that we created earlier and click on deployĪdjust the below settings according to your environment like collection and schedule.

how to clear after effects cache

How to deploy Configuration Baseline to Collection: We are now created configuration baseline and ready to deploy to collection that you are interested in with schedule. Select the configuration item that we created above ,add and click ok. Give a Name,description and click on Add Configuration Item Right click on Configuration Baseline and select Create configuration Baseline With this ,we have completed ,how to create Configuration Item which includes all the settings like discovery ,remediation. Verify once if the settings are configured correctly below.Ĭlick next,next,next to see the summary page: The setting must comply rule used ,if the content returns by the discovery script is 0 ,there is no content to clean up ,if at all the discovery script return count value other than 0 then perform the content cleanup using the remediation script. $Cache.DeleteCacheElement($_.CacheElementID)Įnter the name that you wish to use for the rule name and select the return value by the discovery script 0. $UIResourceMgr = New-Object -ComObject UIResource.UIResourceMgr This script will tell us ,the count of folders inside the ccmcache older than X days which will help us to clean the content.Ĭhange the number of days that you want to delete content older than. You need to have 2 PowerShell scripts 1) Discovery to check the count of folders that are older than x days for deletion 2) To remediate (delete) these folders if any exist older than x daysįor Discovery script ,click on edit script and use the following PowerShell script. Leave the default settings and click next Give meaning full name something like clean ccmcache content

how to clear after effects cache

Launch SCCM console –>go to Assets and compliance-right click on Configuration Items-create Configuration Item

how to clear after effects cache

If you do not want to follow all the steps outlined here, jump to the end of the post, to see how you can achieve this task in just 2 to 3 steps. In this blog post, we will see, how to use simple PowerShell script (can get from many sources on the internet) to create configuration item and configuration baseline and deploy to clients. One advantage of using compliance settings is that you do not need to use source files to implement this solution and it would be easier to discover and remediate if any content found older than x days. I would recommend using compliance settings(configuration item/configuration baseline) to deploy the script on a scheduled basis (monthly once or how you want) to Clients. A friend of mine asked for help on, how to clean up the content inside ccmcache folder in a better way instead of using a script to deploy it as application/package/task sequence to devices.








How to clear after effects cache