Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.