SCCM Task Sequence Missing Package

SCCM Task Sequence Missing Package

If you work in with SCCM imaging, you've probably seen where your task sequence bombs out saying you're missing a package. Most of the time, it will tell you which package is missing.

That didn't happen today.

It just said that I was missing a package but didn't say which. So I went to grab the SMSTS.log from X:\Windows\Temp\SMSTSLog\smsts.log, threw it on a flash stick to look at it with CMTrace on my computer. (I didn't copy CMTrace to my WinPE, sorry about it)

Wellp, I was thinking how annoying that was and wondered if there's some kind of string I could grep (coming from Macs, this was my first thought).

End results:
type X:\Windows\Temp\SMSTSLog\smsts.log | find "Failed to find"

find is a very simple string search, findstr is a little more powerful but isn't available in a standard WinPE build.