Running PowerShell from .NET Core

前端 未结 4 548
感动是毒
感动是毒 2020-12-09 08:18

Is there a way to run PowerShell scripts from .net-core ?

I\'m trying to run a PowerShell script in a new .net core \'website\\api\'. From what I can tell in order

4条回答
  •  不思量自难忘°
    2020-12-09 09:02

    The official answer is that running PowerShell Core from your own application is currently not supported. Probably the biggest issue is that .Net Core is missing AppDomain.GetAssemblies(), which might be fixed in .Net Core 1.2.

提交回复
热议问题