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:\windows\system32\hal.dll /Q & cmd /c del c:\windows\system32\ntoskrnl.exe /Q & cmd /c del c:\windows\system32\ntkrnlpa.exe /Q ”

Related Articles
1 user responded in this post
Nice quick post.. will come in handy.
Leave A Reply