Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

automatic snapshots from hyper-v VM

Posted on 2009-04-15
1
Medium Priority
?
873 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 2000 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

A safe way to clean winsxs folder from your windows server 2008 R2 editions
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

610 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