【发布时间】:2016-04-10 03:32:37
【问题描述】:
我刚刚遇到了这种奇怪的行为:
以下行导致 powershell 停止工作:
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 -Erroraction Silentlycontinue
虽然以下工作正常:
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
这是在事件查看器中找到的问题签名:
P1:powershell.exe
P2:6.3.9600.17090
P3:System.NullReferenceException
P4:System.TypeInitializationException
P5:未知
P6:oft.Exchange.Diagnostics.SystemTraceControl.Update
P7:未知
有人知道为什么会这样吗?系统运行于Server 2012R2
提前致谢
【问题讨论】:
-
我无法告诉您为什么会发生这种情况,但我可以告诉您,Microsoft 不支持使用添加了该管理单元的通用 PS 会话来管理 Exchange。
-
@mjolinor 谢谢我知道,我很好