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 ' Purpose: Clear SMS cache files ' Version 126.96.36.199 ' Author Roger C 25-Oct-2016 on error resume next dim Results : Results = "Success" dim oUIResManager dim oCache dim oCacheElement dim oCacheElements set oUIResManager = createobject("UIResource.UIResourceMgr") if oUIResManager is nothing then wscript.echo "Failed" wscript.quit 1 end … Continue reading Framework for working with SCCM cache
This returns a list of updates applied to a system, including timestamp and KB number.
This returns a list of all package-based deployments to a single or set of computers. Useful when determining what was deployed last night. Includes code for selecting the last 72 hours, for example.
To create a query with a prompt, use the ##PRM:[fieldname]## structure. This example will list all users and computers in a collection.
The new operating system uses branches to control when updates are applied. Make collections to show Windows 10 Current Branch, Current Business Branch, etc.