Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Script to automate the remote shutdown of an ESXi host + all its VMs
Shell
tree: 4c51c72393
Failed to load latest commit information.
LICENSE added license and readme
README added license and readme
esx-halt.sh added license and readme

README

esx-halt.sh - Simple script to safely halt an ESXi host from ssh
Copyright (C) 2011  Davide Ferrari

esx-halt is a very simple bash script that, given an ESXi host as input,
connects to it via SSH and shutdown (or power off) all the virtual
machines inside it, and then safely halt the host.

It could be useful if you want to shutdown the ESXi host from an UPS
daemon (i.e. apcsupsd) and you cannot use the ESXi API calls due to
license restrictions. 
Something went wrong with that request. Please try again.