create a script that will detect if VM Machine is on Tagged: VMware ; powercli This topic contains 1 reply, has 2 voices, and was last updated by Daniel Krebs 1 year ago. Author Posts October 7, 2015 at 1:00 am #30477 michel vaillancourtParticipant Hi, I need to build a script that will connect to ESXI server and check if a spasfic VM Machine is on and if it is off then turn it on. Regards, Michel V October 7, 2015 at 1:59 am #30482 Daniel KrebsParticipant You will need to install and use vSphere PowerCLI. Please search Google or Bing for examples. The scenario you have described is not difficult to script. Google search: powercli check if vm is powered on Author Posts You must be logged in to reply to this topic.