Solved

Administer Hyper-V Virtual Machines with PowerShell commands

Posted on 2010-09-04
2
986 Views
Last Modified: 2012-05-10
I have Microsoft Hyper-V Server 2008 R2 installed on a sever in a Data Center and I want to administer it with PowerShell commands.
I have remote access to that server.

What are the commands for:

- creating a new Virtual Machine, that will use an existing Virtual Hard Disk

- Strating/Stoping the Virtual Machine?
0
Comment
Question by:mihaisz
[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 Comments
 
LVL 27

Accepted Solution

by:
Jason Watkins earned 250 total points
ID: 33606282
0
 
LVL 1

Assisted Solution

by:ldap389
ldap389 earned 250 total points
ID: 33607236
You can use the Powershell management library for Hyper-V (Codeplex):

http://pshyperv.codeplex.com/releases/view/38769

For example use Start-VM or stop-VM cmdLet to start/stop a VM.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
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:…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

691 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