Solved

How to I put VM to sleep/save

Posted on 2011-03-06
3
513 Views
Last Modified: 2012-06-27
I have VM in Hyper-V who I want to put to save state and wakeup from command line. Is that possible ?
0
Comment
Question by:soffcec
  • 2
3 Comments
 
LVL 12

Assisted Solution

by:Sommerblink
Sommerblink earned 500 total points
Comment Utility
Follow these steps:
http://www.virtualizationadmin.com/articles-tutorials/microsoft-hyper-v-articles/storage-management/administer-microsoft-hyper-v-command-line-cli.html

Install PowerShell,
Then add the Hyper-V Powershell Library.

Then use the commands Start-VM, Stop-VM, Suspend-VM, and Shutdown-VM and etc to do as you wish.

0
 

Author Comment

by:soffcec
Comment Utility
I have installed Hyper-V Powershell Library. and the commands are working, but how can I start them from scheduled tasks ?
0
 
LVL 12

Accepted Solution

by:
Sommerblink earned 500 total points
Comment Utility
You can use Scheduled Tasks to launch PS scripts. See http://technet.microsoft.com/en-us/library/ee176949.aspx#EBAA for how to launch powershell scripts from command line

Or you can use the CLI command 'at'
Check out the switch options at http://support.microsoft.com/kb/313565
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
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 show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

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

18 Experts available now in Live!

Get 1:1 Help Now