This shows what updates should have been applied but are still missing, based on a deployment to an update group. Using an Update Group as a filter, show me all the missing updates that SCCM thinks are required. Given: A computer or list of computers Change the computer name(s) in Where clause at the bottom … Continue reading Windows updates deployed through an update group but missing from a system or collection
Find advertisements (packages) where a system reported a status in the last N days. For example, what advertisements were applied last night? Or in the last week? Includes old advertisements that were recently applied, so it helps with cleanup of old packages.
This shows how to remotely trigger SCCM compliance settings.
Computers that received a deployment
Using SCCM and compliance settings, you want to search for old profiles (unused for 90 days). You want to make sure only Domain (not local ) account profiles are wiped out. And you want an exception list, stored in an AD group. When found, you want to report on Compliance (if no outdated profiles) and you want to remediate if found.
Work in progress [VBScript code] - run at workstations ' Script to Clear SMS cache files 'on error resume next dim oUIResManager dim oCache dim oCacheElement dim oCacheElements set oUIResManager = createobject("UIResource.UIResourceMgr") if oUIResManager is nothing then wscript.echo "Couldn't create Resource Manager - quitting" wscript.quit end if '---[ read the number of items in the … Continue reading Framework for working with SCCM cache
This returns a list of updates applied to a system, including timestamp and KB number.