Reading through the wealth of information in Microsoft ConfigMgr logs can be a challenge, especially if you are
provisioning a lot of systems at one time. To help with this, Intel has put together a VBScript example to help make the job of debugging provisioning problems easier.
This script parses through the log file you specify and creates a new log file containing entries relevant to the string you are searching for. A common usage for this script would be to look through the amtopmgr.log for all entries related to a specific computer name. The script searches the log and finds all the thread values associated with the computer name. Then, it places any log entry with any of those thread values in a new file and launches it in the SMS Trace (Trace32) application.
By presenting all these entries, not just the lines with the computer name, the script paints a more complete
picture of what has gone on during the provisioning process and reduces the time spent looking for relevant log
entries by hand.