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

More Resources:

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!

LEAVE YOUR COMMENT

Your email address will not be published. Required fields are marked *

| LATEST RESOURCES

White Papers

    ClearSky Data for Splunk Enterprise – Reference Architecture

    Many organizations have deployed Splunk to analyze the machine data captured throughout their enterprise. The intelligence in that data can be extremely valuable for detecting trends, troubleshooting problems, investigating security incidents, and providing a wide variety of business insights and answers about their operations. However, providing high-performance storage for accessing frequently searched data as well […]

    Downloads

      Download FREE Access Policy Tool for Citrix XenApp and XenDesktop from Wedel IT

      This is the first of many tools we are currently developing for making the job a bit easier for all the Citrix admins out there. Some of the more advanced configurations in Citrix XenApp and XenDesktop are performed via the PowerShell command line. For some, this might seem scary, as the commands are often somewhat […]

      On-Demand Webinars

        FSLogix Apps and Office 365 Container for Citrix – On-Demand Webinar

        In this Webinar, David Young, Solutions Architect and Product Champion for FSLogix, provides an overview of FSLogix Apps and Office 365 Container for Citrix. This webinar addresses the latest enhancements surrounding Office 365 Container for Citrix including Outlook Search on XenApp. Learn about the significant reduction on network and storage overhead along with drastically enhanced application […]

        Latest Videos

          VMware Video: Using Log Insight to Manage VMware’s Private Cloud

          Learn how VMware IT manages their private cloud on a very large scale. The answer is that we use different tools, but VMware vRealize Log Insight really stands out for the way it helps us scale. Just like our customers, we need visibility into the health of our environment. Log Insight was the right tool […]

          Views All IT News on DABCC.com
          Views All IT Videos on DABCC.com

          Visit our Sponsors


          Close