9

当我启动 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 的另一台机器上。

4

2 回答 2

5

最后,我们认为是 Dynatrace 代理挂在了 powershell 进程中导致了该信息/警告。禁用 Dynatrace 服务,重新启动服务器。没有更多的错误。

于 2013-04-05T19:02:20.610 回答
5

迟到的回复,但不是禁用 .net 代理,您可以通过添加此 env var 来抑制初始控制台日志记录:

DT_DISABLEINITIALLOGGING=true
于 2013-05-03T22:15:45.577 回答