User guide

Contents
1 Introduction...............................................................................................6
Scripting Toolkit for Windows.....................................................................................................6
Microsoft Windows Preinstallation Environment.............................................................................6
Minimum requirements..............................................................................................................6
2 Deployment using the Scripting Toolkit for Windows.......................................7
Deployment overview................................................................................................................7
Sample deployment procedure...................................................................................................7
Creating a network share......................................................................................................8
Adding drivers to Windows PE 3.0.........................................................................................8
Adding drivers to Windows PE 4.0........................................................................................9
Capturing a reference configuration from the source server......................................................10
Configuring the target server and installing the operating system .............................................11
3 Advanced topics......................................................................................12
Overview..............................................................................................................................12
Customizing deployment scripts using HPDISCOVERY and IFHW..................................................12
Querying the HPDISCOVERY file based on system name ........................................................12
Querying the HPDISCOVERY file to determine the presence of a particular card ........................12
Querying the HPDISCOVERY file to determine the presence of a card family..............................13
Booting Windows PE from a USB drive key................................................................................13
Flashing the ROM in a Windows PE environment........................................................................13
Erasing array configurations.....................................................................................................15
4 Scripting Toolkit utilities.............................................................................16
Syntax conventions.................................................................................................................16
Utility online help...................................................................................................................16
Using Scripting Toolkit utilities..................................................................................................16
Using REBOOT.......................................................................................................................17
REBOOT command-line syntax.............................................................................................17
REBOOT command-line arguments.......................................................................................17
REBOOT return codes.........................................................................................................17
REBOOT command-line examples........................................................................................17
Using SETBOOTORDER...........................................................................................................18
SETBOOTORDER command-line syntax.................................................................................18
SETBOOTORDER command-line arguments...........................................................................18
SETBOOTORDER return codes.............................................................................................18
SETBOOTORDER command-line examples.............................................................................18
Using STATEMGR...................................................................................................................18
STATEMGR command-line syntax.........................................................................................18
STATEMGR command-line arguments....................................................................................19
STATEMGR return codes.....................................................................................................19
STATEMGR command-line examples.....................................................................................19
Using RBSURESET...................................................................................................................19
RBSURESET command-line syntax.........................................................................................19
RBSURESET command-line arguments...................................................................................19
RBSURESET return codes.....................................................................................................20
Using HPDISCOVERY..............................................................................................................20
HPDISCOVERY command-line syntax....................................................................................20
HPDISCOVERY command line arguments..............................................................................20
HPDISCOVERY return codes................................................................................................21
HPDISCOVERY command line examples...............................................................................21
Using IFHW...........................................................................................................................21
Contents 3