Update powerwall.sh

This commit is contained in:
2023-11-06 21:41:57 -06:00
parent f7745a46a3
commit 27fc8a74f8

View File

@@ -1608,6 +1608,7 @@ fi
echo -e "${idsCL[White]} Usage: ${idsCL[LightCyan]}powerwall {option}"
echo
echo -e " ${idsCL[Yellow]}status ${idsCL[Default]}--> PowerWall Status Information"
echo
echo -e " ${idsCL[Yellow]}check {type} {opt} ${idsCL[Default]}--> Check Sensors"
echo -e " ${idsCL[LightYellow]} type = { power / temp }"
echo -e " ${idsCL[LightYellow]} opt.{power} = { all / mainsite / offsite } ${idsCL[Default]}--> Defaults to All"
@@ -1615,18 +1616,17 @@ fi
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]}iscsi-vm-shutdown {type} ${idsCL[Default]}--> Shutdown VM's running on iSCSI-(PRI or SYS) Datastore(s)"
echo -e " ${idsCL[LightYellow]} type = { sys='iSCSI-SYS' / "
echo -e " main='iSCSI-MAIN' }${idsCL[Default]} --> Defaults to main (iSCSI-PRI)"
echo -e " ${idsCL[LightYellow]} 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} ${idsCL[Default]}--> Control host chassis power"
echo -e " ${idsCL[LightYellow]} host = {esxi-ip}, {idrac-ip}, {hostname} or {host-number;0-9}"
echo
# echo
# echo -e " ${idsCL[Yellow]}services {cmd} ${idsCL[Default]}--> Manage all monitor services at once"
# echo -e " ${idsCL[LightYellow]} cmd = {start/stop/restart/status}"
# 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 }"