Solved

.NET API Hyper V Cluster

Posted on 2014-12-31
1
159 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:
Bing CISM / CISSP earned 500 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
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 …

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now