ssh root@{idrac_ip_addr} <<EOF racadm racreset #soft reset idrac racadm serveraction {powerdown|powerup|powercycle|powerstatus|hardreset} racadm getsysinfo #get current system information EOF