Solved

Administer Hyper-V Virtual Machines with PowerShell commands

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
A brief introduction to what I consider to be the best editor for PowerShell.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

828 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