Home Data Center Hyper-V Manager

Hyper-V Manager

0
0

Wrote this tool when I was setting up my laptop to run Hyper-V.  I didn’t want to have to open the Hyper-V manager and have a window running all the time, and was planning on using Remote Desktop Client to connect to the VM’s so I could map drives and copy/paste in teh VMs.  The idea was to have something that sits in the System Tray that allows you to Start, Stop, Save State, and Pause the VMs running on the box.

I did some looking around as I had no idea how to manage Hyper-V programmatically.  Luckily, some blogs were around that indicated WMI would be the way to go. 

With that, I dug in.  The files are attached and feel free to do with them what you want.  Zip contains 2 folders.  Compiled EXE is in the Hyper-VManager folder.  The Visual Studio 2008 project is in the Hyper-VManager_Source folder.

When you launch the app, you will get a UAC prompt.  The app needs to run with admin access to get to Hyper-V objects.  You get the same prompts opening the Hyper-V MMC.  Here’s a quick break down of the app and what it does.  It currently manages a single machine.  You can manage a remote machine by changing the .config file entry.  Change \. to \MachineName and you should be good to go (considering you have permissions to the remote machine).  You could extend the app to manage multiple machines, but would need to tweak the code to handle building out the appropriate menus.  Shouldn’t be much code, but considering I’m not going to be using it, decided not to do the work 🙂

When you launch the app, it displays a Hyper-V icon in the System Tray:

Download Now

Featured Resources:

Related Articles:

Categories:
DABCC DABCC.com, the world leader in sharing the finest Virtualization & Cloud news and support resources. #Citrix, #VMware, #Microsoft, #Mobility and much more! Brought to you by @douglasabrown & team!
| LATEST RESOURCES

White Papers

    Top 7 Challenges Migrating to the Cloud White Paper

    Moving mission-critical workloads to the cloud delivers a range of compelling business benefits, including increased agility, pay-as-you-go cost structures, and the ability to leverage the provider’s system administration experts to keep your systems up, running, and patched. But migrating to the cloud is not without its challenges. Focus on solving these known challenges to make […]

    Downloads

      Download ScaleArc Database Performance and Load Balancing Sofware

      ScaleArc offer’s a free, easy, fully featured and supported 30-day trial of the ScaleArc software (formerly iDB). ScaleArc is incredibly easy to implement, with most customers able to get their first cluster up and running in less than 15 minutes from install. Available as an easy to use VM Image, an Amazon AMI, or an […]

      On-Demand Webinars

        Latest Videos

          Citrix Synergy Session SYN127 Video: Introducing Smart Tools for the Xen product family

          Citrix Smart Tools are a collection of easily consumable, use case–specific services to more efficiently deploy and manage the Citrix stack. Smart Check is a new Smart Tools service delivering proactive, fix-it-before-it-breaks detection and repair. All these services support cloud or on-premises deployments. Attendees will learn how to deliver faster POCs to Azure, AWS and […]

          Views All IT News on DABCC.com
          Views All IT Videos on DABCC.com
          Win a Tesla P100D

          Visit our Sponsors!


          Close