From 30eedff8b654283bc9edd68403250972bfccb388 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 9 Dec 2023 21:04:35 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/powerwall.sh b/powerwall.sh index 90af2eb6..ff7f6e38 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -2043,19 +2043,24 @@ fi echo -e " ${idsCL[LightYellow]} opt.{power} = { all / mainsite / offsite } ${idsCL[Default]}--> Defaults to All" echo -e " ${idsCL[LightYellow]} opt.{temp} = { avg for # of days to show } ${idsCL[Default]}--> Defaults to not showing averages" echo - echo -e " ${idsCL[Yellow]}shutdownhost {host} ${idsCL[Default]}--> Shutdown ESXI host and its VMs" + echo -e " ${idsCL[Yellow]}host {host} {flags} ${idsCL[Default]}--> Shutdown ESXI host and its VMs" echo -e " ${idsCL[LightYellow]} host = {esxi-ip}, {idrac-ip}, {hostname} or {host-number;0-9}" + echo -e " ${idsCL[LightYellow]} -p|-power {on / off} ${idsCL[Default]}--> Controls Host Power" + echo -e " ${idsCL[LightYellow]} -e|-esxi {off / mm} ${idsCL[Default]}--> Shuts down ESXi or puts into maintenance mode" + echo + # echo -e " ${idsCL[Yellow]}shutdownhost {host} ${idsCL[Default]}--> Shutdown ESXI host and its VMs" + # echo -e " ${idsCL[LightYellow]} host = {esxi-ip}, {idrac-ip}, {hostname} or {host-number;0-9}" + # echo + echo -e " ${idsCL[Yellow]}shutdown_servers {type} ${idsCL[Default]}--> Shutdown selection of servers" + echo -e " ${idsCL[LightYellow]} type = { main / sys / all }" echo echo -e " ${idsCL[Yellow]}iscsi-vm-shutdown {type} ${idsCL[Default]}--> Shutdown VM's running on iSCSI-(PRI or SYS) Datastore(s)" echo -e " ${idsCL[LightYellow]} type = { sys / main }" echo -e " ${idsCL[LightYellow]} sys='iSCSI-SYS' / main='iSCSI-MAIN' ${idsCL[Default]}--> Defaults to main (iSCSI-PRI)" echo - echo -e " ${idsCL[Yellow]}shutdown_servers {type} ${idsCL[Default]}--> Shutdown selection of servers" - echo -e " ${idsCL[LightYellow]} type = { main / sys / all }" - echo - echo -e " ${idsCL[Yellow]}hostpower {host} {on/off} ${idsCL[Default]}--> Control host chassis power" - echo -e " ${idsCL[LightYellow]} host = {esxi-ip}, {idrac-ip}, {hostname} or {host-number;0-9}" - echo + # echo -e " ${idsCL[Yellow]}hostpower {host} {on/off} ${idsCL[Default]}--> Control host chassis power" + # echo -e " ${idsCL[LightYellow]} host = {esxi-ip}, {idrac-ip}, {hostname} or {host-number;0-9}" + # echo echo -e " ${idsCL[Yellow]}service {srvc} {cmd} ${idsCL[Default]}--> Manage an individual monitor service" echo -e " ${idsCL[LightYellow]} srvc = { all / temp / power / powerlogger }" echo -e " ${idsCL[LightYellow]} cmd = { start / stop / restart / status }"