If the Imagepath key for a service has spaces, it should have quotes around the value to avoid running malicious code.
This compliance setting copies all the .REG files from a network folder into the local registry, effectively creating DSNs. It only makes the DSN if it can verify that the driver is installed.
This shows how a compliance setting can use a service account to copy from the network to a local drive
This shows how to remotely trigger SCCM compliance settings.
When you are waiting for a package to arrive and process at a workstation, this script will notify you when the Referenced CacheElements count changes.
Sometimes I want to make a number stand out, so I wanted a routine to write a big number. I mean, a large-format display. Here's the routine. Give it a try!
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.