There are so many questions and answers about how to execute the powershell script command from C # code, but I would like to know how exactly the execution of the space / pipeline of the .px file is performed.
The context in which I ask is this: I created an asp.net base interface for a powershell script that installs a new website. He creates the site in IIS and configures the wwwroot folders, log folders, AD user and everything else that he needs. It works great when I run it as an administrator in powershell. However, when I run it through the C # pipeline, it breaks the channel into a parameter binding exception.
I am not answering this specific problem, I am just looking for an explanation of how the pipeline executes my file so that I can better understand what exactly is happening.
source share