Over time many people have asked me how they can extend Hyper-V integration services. There are all sorts of reasons for wanting to do this – maybe you want to build your own automation system, or maybe you want to extend an existing tool to be virtual machine aware. But we have not made this easy.
Well, with Windows 10 and Windows Server 2016, this is now much easier.
We now provide a completely support method for creating a socket-based connection between the host and guest operating systems. This is actually the method that we use for the new PowerShell Direct functionality.
You can read all the details on how this works, and how you can develop with it here: https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/develop/make_mgmt_service