Using Command Shell Scripts with Microsoft Deployment Toolkit (MDT)
From the archive (2010). Written for the tools of the time, so some details may be out of date.
Michael Murgolo has a nice post over on The Deployment Guys Blog about using command shell (CMD) scripts within MDT.
“OK… I’ll admit it, I like to write Command Shell (CMD) scripts when I can. For me it’s like putting on an old broken-in pair of sneakers… so comfortable and familiar. Unfortunately, using them in MDT task sequences can be challenging. I this post I’ll demonstrate some techniques and helper scripts that can bring Command Shell scripts into the MDT era. There are four main tasks that I’ll address today: calling other scripts and executables, getting Task Sequence Variables, setting Task Sequence Variables, and logging.”
Read more here.