if errorlevel 0 goto State0
:State0
REM *** Configure the target server hardware by reading the configuration REM *** information in the script file
echo Running Configuration Replication Utility...
%Tools%\System\conrep
echo Setting State Information...
%Tools%\System\statemgr /w Phase 1
:State1
REM======================================================================== REM *** Configure the array controllers by reading the configuration
REM *** information in the script file and stamping it onto the array REM *** controllers of the target server REM========================================================================
echo Configuring the Array Controllers...
%Tools%\System\ifhw .\hwdisc.xml %Tools%\System\allboards.xml PCI:"Smart Array 5i Controller"
if errorlevel 1 GOTO NEXT1
%Tools%\ACU\bin\hpacubin.exe
GOTO NEXT6
:NEXT1
%Tools%\System\ifhw .\hwdisc.xml %Tools%\System\allboards.xml PCI:"Smart Array 6i Controller"
if errorlevel 1 GOTO NEXT2
%Tools%\ACU\bin\hpacubin.exe
GOTO NEXT6
:NEXT2
%Tools%\System\ifhw .\hwdisc.xml %Tools%\System\allboards.xml PCI:"Smart Array 5312"
if errorlevel 1 GOTO NEXT3
%Tools%\ACU\bin\hpacubin.exe
GOTO NEXT6
:NEXT3
%Tools%\System\ifhw .\hwdisc.xml %Tools%\System\allboards.xml PCI:"Smart Array 640X Controller"
if errorlevel 1 GOTO NEXT4
%Tools%\ACU\bin\hpacubin.exe
GOTO NEXT6
:NEXT4
%Tools%\System\ifhw .\hwdisc.xml %Tools%\System\allboards.xml PCI:"Smart Array P600 Controller"
if errorlevel 1 GOTO NEXT5
%Tools%\ACU\bin\hpacubin.exe
GOTO NEXT6
Configuring HP ProLiant systems with Windows PE 12