Use the batch command to queue ASU operations without any knowledge of the scripting capabilities of the operating system on which the ASU is running.
asu batch batch_filename [-nx] [connect_options]where
batch_filename is the name of a file that contains a list of ASU commands.
[command 1] output of command 1 [command 2] output of command 2 [command n] output of command n
The batch command and corresponding output are shown in the following examples.
set IMM.PowerRestorePolicy "Always on" set IMM.PowerOnAtSpecifiedTime_Hour 05 set IMM.PowerOnAtSpecifiedTime_Minute 00 set IMM.PowerOnAtSpecifiedTime_Second 00 set IMM.ShutdownAndPowerOff_WeekDay Sunday set IMM.HTTPPort 81 set IMM.SSLPort 441 set IMM.TelnetPort 21 set SYSTEM_PROD_DATA.SysEncloseAssetTag "Server Tag" set iSCSI.InitiatorName "iqn.2009-01.com.ibm:InitiatorName" set uEFI.Com1BaudRate 9600
[set IMM.PowerRestorePolicy "Always on"] IMM.PowerRestorePolicy=Always on [set IMM.PowerOnAtSpecifiedTime_Hour 05] IMM.PowerOnAtSpecifiedTime_Hour=05 [set IMM.PowerOnAtSpecifiedTime_Minute 00] IMM.PowerOnAtSpecifiedTime_Minute=00 [set IMM.PowerOnAtSpecifiedTime_Second 00] IMM.PowerOnAtSpecifiedTime_Second=00 [set IMM.ShutdownAndPowerOff_WeekDay Sunday] IMM.ShutdownAndPowerOff_WeekDay=Sunday [set IMM.HTTPPort 81] IMM.HTTPPort=81 [set IMM.SSLPort 441] IMM.SSLPort=441 [set IMM.TelnetPort 21] IMM.TelnetPort=21 [set SYSTEM_PROD_DATA.SysEncloseAssetTag "Server Tag"] SYSTEM_PROD_DATA.SysEncloseAssetTag=Server Tag [set iSCSI.InitiatorName "iqn.2009-01.com.ibm:InitiatorName"] iSCSI.InitiatorName=iqn.2009-01.com.ibm:InitiatorName [set uEFI.Com1BaudRate 9600] uEFI.Com1BaudRate=9600
show CMOS_PrimaryBootDevice1 show CMOS_PrimaryBootDevice2 show CMOS_PrimaryBootDevice3 show CMOS_PrimaryBootDevice4
[show CMOS_PrimaryBootDevice1] CMOS_PrimaryBootDevice1=CD ROM [show CMOS_PrimaryBootDevice2] CMOS_PrimaryBootDevice2=Diskette Drive 0 [show CMOS_PrimaryBootDevice3] CMOS_PrimaryBootDevice3=Hard Disk 0 [show CMOS_PrimaryBootDevice4] CMOS_PrimaryBootDevice4=Network
set CMOS_PrimaryBootDevice1 "Network" set CMOS_PrimaryBootDevice2 "Hard Disk 0" set CMOS_PrimaryBootDevice3 "Diskette Drive 0" set CMOS_PrimaryBootDevice4 "CD ROM"
[set CMOS_PrimaryBootDevice1 "Network"] CMOS_PrimaryBootDevice1=Network [set CMOS_PrimaryBootDevice2 "Hard Disk 0"] CMOS_PrimaryBootDevice2=Hard Disk 0 [set CMOS_PrimaryBootDevice3 "Diskette Drive 0"] CMOS_PrimaryBootDevice3=Diskette Drive 0 [set CMOS_PrimaryBootDevice4] CMOS_PrimaryBootDevice4=CD ROM {set CMOS_PrimaryBootDevice1] CMOS_PrimaryBootDevice1=CD ROM [show CMOS_PrimaryBootDevice2] CMOS_PrimaryBootDevice2=Diskette Drive 0 [show CMOS_PrimaryBootDevice3] CMOS_PrimaryBootDevice3=Hard Disk 0 [show CMOS_PrimaryBootDevice4] CMOS_PrimaryBootDevice4=Network