Increase CM cache and clean it - 2
Next version to https://blogs.msdn.com/b/alex_semi/archive/2011/12/15/increase-cm-cache-and-clean-it.aspx
Now the script goes to WMI, and checks, if each cached package required by any of mandatory assignment, and if it’s in a future, or recurring, it won’t delete.
Comments
- Anonymous
February 20, 2012
Can this script be ran from a SCCM OSD task sequence using the "Run another program first" option? I keep getting errors that it can't delete the object, but it works if run manually. Does running the script from within an advert lock the entire CM cache and therefore prevent files from being deleted? - Anonymous
February 22, 2012
From what I know, Run another program first does not work in Install Software step in TS