Freigeben über


Blog Introduction

I wrote the msdn Hyper-V documentation samples with my colleges' help. I want to use this blog to explain the contexts that we missed from these samples.

I will be really happy if we can achieve the following goals together:

  1. Make our MSDN online samples easier to understand.
  2. Get your feedbacks into these samples.
  3. Get scenario samples that we need to write.

So far we have 48 samples written in both C# and VBScripts. It covers most the API that Hyper-V currently has. These samples can be divided into the following categories:

  1. Virtual System Management Service. 17 methods.  https://msdn.microsoft.com/en-us/library/cc136940(VS.85).aspx
  2. Virtual Switch Management Service. 13 methods.  https://msdn.microsoft.com/en-us/library/cc136938(VS.85).aspx
  3. Virtual Image Management Service. 13 methods. https://msdn.microsoft.com/en-us/library/cc136845(VS.85).aspx
  4. Keyboard and Mouse. 3 methods. https://msdn.microsoft.com/en-us/library/cc136956(VS.85).aspx. https://msdn.microsoft.com/en-us/library/cc136772(VS.85).aspx
  5. Msvm_ComputerSystem. 1 method. https://msdn.microsoft.com/en-us/library/cc723874(VS.85).aspx
  6. Scenarios. 1 Scenario  https://msdn.microsoft.com/en-us/library/cc723870(VS.85).aspx

I will try to explain these APIs in the following context:

  1. Methods and VM relationships 
  2. WMI objects it creates.
  3. Mapping between the Hyper-V console UI and the method

I am looking forward getting your feedbacks. 

Cheers,

Howard.

Comments

  • Anonymous
    January 01, 2003
    Thank you for your feedbacks.  I have a plan to post Visio drawings to show WMI objects affected by each Hyper-V method. You are absolutely right. It’s very difficult to understand WMI programming model without understanding the objects and object relationships behind, especially Hyper-V networking related operations.

  • Anonymous
    January 01, 2003
    Hi, thanks for this useful links. As an MVP for Virtual Machines I'm focused on all related topics. I'm not a programmer, I'm IT Pro but I currently do a lot with PowerShell and WMI together with Hyper-V. I found it very useful to have some scripts to start off, and also very useful is a list of available classes within the WMI namespace. I look forward on new posts on this blog. Thanks Peter Forster MVP Virtual Machines Austria

  • Anonymous
    February 10, 2009
    How would one start a VM programatically. I see that you can use InitiateShutdown to stop a VM Regi