HP P9000 Command View Advanced Edition Suite Software 7.3.1-00 CLI Reference Guide

The following items cannot be specified with the batch option, as this will cause an error:
The -i or --input option
Commands
Command parameters
help
NOTE:
For details about displaying Help information when specifying the batch option, see Help on page 30.
The following shows an example of an execution with the batch option specified, and an example of
the command execution results.
In this example, a batch file created in Examples of batch file creation on page 385 is specified as
the file name batch.txt and is executed.
Command execution example:
C:\hdvm> hdvmcli http://servername:2001/service -b batch.txt
Command execution results example:
In the execution results, the start line number and the end line number, which are the numbers counted
from the top of the batch file and indicate the start and end line number of the batch processing, are
displayed following the executed command name. In the following output example, AddLun(2-5)
indicates that the AddLun commands on lines 2 to 5 of the batch file have processed together.
NOTE:
A blank line is also counted as a line.
RESPONSE OF ADDLUN(2-5):
An instance of StorageArray
objectID=*****
name=XP12000@10.208.116.108
description=XP12000 (14053) at 10.208.116.108
serialNumber=14053
arrayFamily=XP12K/10K/SVS200
arrayType=XP12000
microcodeVersion=50-07-63/00
agentVersion=04_08_00
productName=RAID500
controllerVersion=50-07-63-00/00
numberOfControllers=1
capacityInGB=6,560
cacheInMB=65,536
sharedMemoryInMB=-1
numberOfSpareDrives=-1
freeCapacityInGB=4,877
Batch functionality386