powershell-2.0 - Powershell脚本未运行

标签 powershell-2.0

启动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/

相关文章:

powershell - 是否可以 "connect"到另一个 PowerShell 进程以查看当前控制台输出?

powershell - 执行操作的访问权限不足 - Powershell

windows - 如何使用powershell计算和使用单个进程的多个实例的内存?

powershell - PowerShell运行多个脚本

powershell - 使用备用凭证复制项目

powershell - 获取远程注册表值

powershell - 删除所有 .ica 文件

powershell - 如何从 powershell 命令中找到可用的属性?

arrays - 如何比较两个数组,删除相似的项目,而不迭代整个数组?

powershell - 如何使用Powershell脚本中的参数调用可执行文件