By Suhem Parack
In this article, we will discuss how to prepare Visual Studio to perform various VMware tasks. VMware PowerCLI is a Windows PowerShell interface for managing and automating various vSphere tasks. Using VMware PowerCLI cmdlets in Visual Studio we can create, customize, or manage vSphere inventory objects.
a. Preparing Visual Studio to perform VMware tasks by using VMware vSphere PowerCLI cmdlets within the C# code:
In order for powerCLI to interact with .NET, we need to call the assemblies and reference these in our .NET code. To do this, under the Solution Explorer, right click on References and click …read more