?
Solved

Administer Hyper-V Virtual Machines with PowerShell commands

Posted on 2010-09-04
2
Medium Priority
?
987 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 1000 total points
ID: 33606282
0
 
LVL 1

Assisted Solution

by:ldap389
ldap389 earned 1000 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
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…
Suggested Courses

771 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