To incorporate Scripting Toolkit procedures into an existing deployment process, use the HWDETECT.EXE utility to determine if the combined process is being executed on hardware supported by the Scripting Toolkit. You can then add appropriate branches in the batch files to use either the existing process or the Scripting Toolkit process.
hwdetect.exe /s
if errorlevel 1 goto NONIBM
if errorlevel 0 goto IBM
:NONIBM
rem Perform non-IBM equipment specific processing here.
:IBM
rem Perform IBM eServer or xSeries equipment specific processing here.