Erasing array configurations – HP Scripting Toolkit for Windows 9.50 User Manual

Page 15

Advertising
background image

NEXT3:

REM ----

REM DONE

REM ----

REBOOTREQUIRED:

System\reboot PXE

HWNOTFOUND:

End:

For more information about Online ROM Flash Smart Components, see the HP Online ROM Flash
User Guide
on the HP Software and Driver Downloads website at

http://www.hp.com/go/HPSC

.

Erasing array configurations

Before beginning the deployment process, you might want to erase the current array configuration.
The commands in the following examples can be run as part of a script or alone.

To erase the array configuration:
1.

Use the Microsoft DiskPart utility to clear the partition table:
a.

Create a script file called ErasePart.txt that contains the following commands:

REM This file instructs Diskpart.exe to select the first disk as

REM target, then clean the target.

rescan

select disk=0

clean

b.

Run the Microsoft DiskPart utility to clear the partition table:

diskpart /s .\ErasePart.txt

2.

Use HP SSA to erase the array configurations:

hpssascripting -i erase.ini

The erase.ini file is provided in the Scripting Toolkit sample files.

Erasing array configurations

15

Advertising