检查SCOM 2012上的pipe理服务器

我们必须检查pipe理服务器的大约400台机器,因为我们已经从SCOM 2007移到了2012,我们需要检查旧的SCOM 2007服务器是否仍然被指向。

在个人服务器上,我看到以下内容:

Operations Manager代理属性

我正在通过打开c:\program files\system center Operations management\agent下的AgentControlPanel.exec:\program files\system center Operations management\agent上检查个别服务器。

我希望有一个PowerShell的方法来解决这个问题,但我没有太多的乐趣,谷歌。

SCOM代理将其configuration存储在HKLM:\ Software \ Microsoft \ Microsoft Operations Manager \ 3.0 \ Agement Management Groups中。

每个pipe理小组都会有一个子容器,这个容器应该很容易testing。 很有可能你的新旧SCOM服务器会有不同的pipe理组名称,所以你应该能够检查旧的存在。 如果您在registry中更改某些内容,则需要重新启动SCOM代理才能使更改生效。

 if (test-path "HKLM:\Software\Microsoft\Microsoft Operations Manager\3.0\Agement Management Groups\OLDMG") {write-host "this computer is using the old SCOM server"} 

旧的SCOM服务器还活着吗? 如果是这样,我只是检查是否有任何“响应”电脑在控制台。 这会为你节省大量的工作。