Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using ESX (latest free version 5.X) to host multiple VMs (mainly Windows with some Linux). Users will have control of these VMs and should be able to snapshot them, however I don't want to deal with giving any access to the actual ESX host. I am considering using the Powershell plugin for VMWare and creating a script with a web front end to allow users to create snapshots from an internal web page. Is there any easier way? What would be the best practice here?

share|improve this question
ESXi's API is not available in the free version. You won't be able to do this with the API. – Nathan C Jul 16 '13 at 15:22
Meaning the powershell script will not even be an option? – user160910 Jul 16 '13 at 15:28
You could potentially work up something by executing a script to the ESX host console, but since you have to expose your root credentials to the script it could be very insecure. See this – Nathan C Jul 16 '13 at 15:34
What's wrong with giving them rights to only those VMs they need and only to create snapshots? Even with the client they won't be able to do anything else on the host. – TheCleaner Jul 16 '13 at 16:12
It is just a PITA from a management perspective as there is a fairly large number of users and VMs to manage, but I am fine letting anyone create a snapshot. We are using local authentication on the ESX host, so I would have to manually add each person to a restricted group. Being able to remotely create snapshots seems easier. – user160910 Jul 16 '13 at 18:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.