Solved

automatic snapshots from hyper-v VM

Posted on 2009-04-15
1
864 Views
Last Modified: 2012-05-06
want to create snapshots from all Virtual Machines in Hyper-V with a scheduled task while they are running (just like in the server manager: rightclick on the VM, snapshot).
what's the best way to do this?
0
Comment
Question by:socom1985
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 19

Accepted Solution

by:
jss1199 earned 500 total points
ID: 24148379
Follow the steps outlined in Taylor Brown's blog entry on this subject at http://blogs.msdn.com/taylorb/archive/2008/06/16/hyper-v-wmi-creating-applying-deleting-virtual-machine-snapshots.aspx.  Necessary Powershell scripts are included.  

To use ps scripts in a scheduled task:

1) Create a new scheduled task.

'The syntax is to execute the script is:
powershell -command "& 'SomeDir\myScript.ps1'"  

2) Set the script to run as your normal task scheduler accounts.
3) Execute/Schedule task
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question