Solved

.NET API Hyper V Cluster

Posted on 2014-12-31
1
180 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Progress

691 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