Welcome to TechNet Blogs Sign in | Join | Help
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.  http://msdn.microsoft.com/en-us/library/cc136940(VS.85).aspx
  2. Virtual Switch Management Service. 13 methods.  http://msdn.microsoft.com/en-us/library/cc136938(VS.85).aspx
  3. Virtual Image Management Service. 13 methods. http://msdn.microsoft.com/en-us/library/cc136845(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.

 

Posted: Monday, August 18, 2008 3:47 PM by HowardHao

Comments

fope said:

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

# August 19, 2008 9:10 AM

HowardHao said:

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.

# August 21, 2008 5:28 AM

Regi said:

How would one start a VM programatically. I see that you can use InitiateShutdown to stop a VM

Regi

# February 10, 2009 5:26 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker