March 27 2012

Running multiple commands in SCCM ‘Run Command Line’ Task Sequence step

A quick post on something that’s not overly technical. I was editing a SCCM task sequence and I wanted to run multiple commands on the task sequence ‘Run Command Line’ step without using a batch file.  I remember that Command Processor allows the & character to join commands together. I tested this out in the task sequence step and it work successfully. In this example it was “cmd /c del c:windowssystem32hal.dll /Q & cmd /c del c:windowssystem32ntoskrnl.exe /Q & cmd /c del c:windowssystem32ntkrnlpa.exe /Q ”

 

 



----------------------------------------------------------------------------
I use a maximum of one Google Ad per post to help offset some of my blog hosting costs.

----------------------------------------------------------------------------