Hi, I have an application which is built on .net 2.0 framework. I am looking for command to execute powershell command from c#. Ex: in Powershell command prompt, we need to type "Install-WindowsFeature XPS-viewer" to enable XPS viewer. I am looking for C# code to do this. I don't want to use script file.