When DNS information is not accurate, this can be a useful script fo rasking the system to report back the correct IP address. it goes into a compliance setting, and reports back to a central location.
A collection of WMIC commands to quickly get information form the WMI namespace [CMD commands] This shows all the Quick Fix Engineering (Windows Update) patches in a web page. wmic /node:"aldt-5101262" qfe get description, hotfixid, installedby, installedon,servicepackineffect /format:htable >\temp\temp.htm && "C:\Program Files (x86)\Internet Explorer\iexplore" \temp\temp.htm
Sometimes you want to keep retrying a list of hosts, because they aren't all online. You might want to copy a file to them, or reboot them, or query them for some information. This script will loop through a list of hosts, wait for a minute, and then retry for whichever hosts didn't respond. it will output a CSV file of results, as well as a list of successful and failed hosts.
List of 170 different SQL queries for SCCM https://gallery.technet.microsoft.com/TI71-SCCM-SQL-Queries-3ec6db7f
WMIC allows WMI commands form a CMD prompt or a batch file. Here's a collection of them.
This will read the registry to (CCS/Services) to find the entry for the service, then follw that to the filename, and verify the version is at least the minimum version. Used for making sure the Trend Micro service is up to date.
This uses WMI to remotely probe the registry, looking for a keyword such a "Trend". Returns the key(s) and value(s) found. This is a MUSCE module0.