Solved

Administer Hyper-V Virtual Machines with PowerShell commands

Posted on 2010-09-04
2
985 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
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…

739 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