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:

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

    VMware Virtual SAN 6.2 – Virtual SAN Management API Cookbook for Python

    Typically, Virtual SAN management is performed through the vSphere® Web Client. Tasks can include those such as initial configuration, ongoing maintenance, and reporting of capacity, performance, or health of Virtual SAN. The Web Client provides comprehensive element management of each component of a Virtual SAN cluster. While most element management is easily accomplished with the Web Client user […]

    Downloads

      Download FSLogix Office 365 Container

      Enable Successful Office 365 Deployments in all Virtualized Environments For enterprise class performance expected by your end-user community, Cached Exchange Mode (CEM) must be enabled in Outlook. Once CEM is enabled, very large files (OSTs) will need to be persisted between virtual workspace sessions. Doing this with traditional approaches like roaming profiles or Folder Redirection […]

      On-Demand Webinars

        The Secrets You Need to Know About Windows 10 in VDI Environments – On-Demand Webinar

        Watch the webinar replay to hear Citrix Technical Professional (CTP), Jim Moyle, and VMware Certified Design Expert (Double VCDX) Hugo Phan delve into the impact of Windows 10 in VDI environments. Whilst Windows 10 migrations is one of the key IT initiatives driving VDI adoption today, Windows 10 and IOPS continue to be the most challenging, […]


        Close