I can't seem to find a right way to show the output of a PowerShell instance when created in C#. I'm using the System.Management.Automation that creates a PowerShell instance with:
PowerShell ps = PowerShell.Create();
The specific thing I want to know is; where can I find an output of what this instance does in the backend?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…