Solved

.NET API Hyper V Cluster

Posted on 2014-12-31
1
164 Views
Last Modified: 2015-01-27
Hi,

I was wondering does anyone know of any API's (preferably through .NET) to query a Hyper V Cluster (server 2012) such as getting the shared volume, settings of the VM (Cores etc).

I know there is something similar within PowerShell but I was hoping there is something available via .NET?

Thanks,
Alex
0
Comment
Question by:BoltonWanderer
1 Comment
 
LVL 37

Accepted Solution

by:
bbao earned 500 total points
ID: 40563546
the secret Hyper-V APIs are available via WMI, actually the same APIs that PowerShell uses to access the system's Hyper-V engine.

Hyper-V WMI Provider
https://msdn.microsoft.com/en-us/library/cc136992(VS.85).aspx

regarding how to access WMI providers using .NET framework, see belw the MS official article.

WMI .NET Overview
https://msdn.microsoft.com/en-us/library/ms257340(VS.80).aspx

hope it helps..
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
A brief introduction to what I consider to be the best editor for PowerShell.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question