SCVMM C# Interface

Kutschera, Rick Wolfgang 0 Reputation points
2023-08-08T09:03:35.71+00:00

Hi folks,

I am baffled to not find anything more about this already, so I wanted to throw this in here:

Is there any way to directly access SCVMM using C#? And I explicitly am looking for a way to do this directly from C#, not any workaround via the PowerShell module.

There are two reasons for that:

  1. I need to roll the application out to a lot of servers, and I can't ensure that the VMM console is installed everywhere beforehand. So the requirement is that the application has everything included in the build itself that it needs to work. (And we are talking Copy-Only deployment, so I can't even run an installer here...)
  2. And more importantly: There is scenarios in my system where I have large quantities of requests triggered from that application in a very short time. Using PowerShell would use WAY too much memory for that.

thx

Rick

System Center Virtual Machine Manager
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,575 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. XinGuo-MSFT 15,781 Reputation points
    2023-08-09T07:54:50.39+00:00

    Hi,

    As of my knowledge, there isn't a direct C# interface provided by Microsoft for System Center Virtual Machine Manager (SCVMM) like there is for PowerShell.