Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

With the vShpere client it is possible to create snopshots manually. Is there a way to trigger snapshots of of a running vm (ESXI 4.1) by a scheduled batch job ?

share|improve this question
up vote 3 down vote accepted

You could use the vSphere PowerCLI. It's a powershell plugin.

To create a snapshot, you would need to do the following:

add-pssnapin VMware.VimAutomation.Core
Connect-VIServer -Server myVSphereServer
get-vm myVMName | new-snapshot -name "My New Snapshot"
share|improve this answer
is vSphere PowerCLI a free or commercial product? – markus May 25 '12 at 9:14
Free add-on for Powershell ;-) – Bart De Vos May 25 '12 at 9:29

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.