启动powershell时,出现以下消息,并且无法运行powershell脚本。
2013-03-21 14:21:19 [000002fc] info [native] No Registry-Settings exist for this process
2013-03-21 14:21:19 [000002fc] info [native] Agent has no active settings - running normally
Windows PowerShell
在装有Powershell的另一台计算机上不会发生这种情况。
最佳答案
较晚的答复,但是可以通过添加以下env var来禁用初始控制台日志记录,而不是禁用.net代理:
DT_DISABLEINITIALLOGGING=true
关于powershell-2.0 - Powershell脚本未运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15555272/