阅读背景:

在c#中将PSObjects(或PS命令)转换为JSON

来源:互联网 

I am trying to create a web api that will convert the output of a powershell command to JSON. Does anyone know of a library that can do this or convert a PSObject to JSON? The PSObject properties changes depending on the command that generates it. I tried passing the PSObject to "ConvertTo-Json" but I got extra object info.I am trying to create a web api that will conve




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: