Solved

automatic snapshots from hyper-v VM

Posted on 2009-04-15
1
855 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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

We recently had an issue where out of nowhere, end users started indicating that their logins to our terminal server were just showing a "blank screen." After checking the usual suspects -- profiles, shell=explorer.exe in the registry, userinit.exe,…
If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now