Install vib powercli. You can combine those in 1 script.