Solved

automatic snapshots from hyper-v VM

Posted on 2009-04-15
1
859 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
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Normally after a failure of Domain Controller, when promoting new DC the DC is renamed, we will discuss the options in Dcpromo to re-create the DC with the same name. Scenario: You are a small IT shop with two Domain Controllers (Domain Contr…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

770 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