Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
178 views
in Technique[技术] by (71.8m points)

What is a common used tactic to see the output of a PowerShell instance created in C#?

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?

question from:https://stackoverflow.com/questions/65602795/what-is-a-common-used-tactic-to-see-the-output-of-a-powershell-instance-created

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...