Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to I put VM to sleep/save

Posted on 2011-03-06
3
Medium Priority
?
528 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
[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
  • 2
3 Comments
 
LVL 12

Assisted Solution

by:Sommerblink
Sommerblink earned 2000 total points
ID: 35052772
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
ID: 35075608
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 2000 total points
ID: 35134068
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

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

722 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