One more solution to calling PowerShell from C# Basic PowerShell handler C# class with an explanation Click here to read the article