How to run a multiline Powershell script inside of c#?

后端 未结 0 1984
夕颜
夕颜 2021-01-27 03:38

I\'d like to run this Powershell script inside of c# using the format below. Do I use -scriptblock or powershell.addscript("") or ? It seems like I\'m making this hard

相关标签:
回答
  • 消灭零回复
提交回复
热议问题