• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 999
  • Last Modified:

Administer Hyper-V Virtual Machines with PowerShell commands

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
mihaisz
Asked:
mihaisz
2 Solutions
 
ldap389Commented:
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

Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now