Working with SCVMM 2012 Powershell in C# – InvokePowerShell function

I have a blog post on Working with SCVMM Powershell in C# – InvokePowerShell funciton, that has been pretty popular and helpful to some. I want to write a subsequent blog post on doing the same thing but what has changed in SCVMM 2012. SCVMM 2012 has replaced it’s pssnapin (formerly Microsoft.SystemCenter.VirtualMachineManager) with a PowerShell…