# encoding: ascii
# api: powershell
# title: HP_Plink_ISO
# description: Plink to map ISO on iLO
# version: 0.1
# author: David
# license: CC0
# x-poshcode-id: 3212
# x-archived: 2012-02-13T11:11:23
# x-published: 2012-02-08T11:13:00
#
#
$plink = plink -ssh Administrator@$ILOIP -pw $PSWD -auto_store_key_in_cache "set /map1/oemhp_vm1/cddr1 oemhp_image=http://IPADDRESS/ISO.iso"
$plink = plink -ssh Administrator@$ILOIP -pw $PSWD -auto_store_key_in_cache "set /map1/oemhp_vm1/cddr1 oemhp_boot=connect"
$plink = plink -ssh Administrator@$ILOIP -pw $PSWD -auto_store_key_in_cache "set /map1/oemhp_vm1/cddr1 oemhp_boot=once"
