Category Archives: SCOM 2012

Adding or removing a management group from SCOM 2012 agent using powershell

To remove a management Group from a SCOM 2012 agent run the following commands from an elevated powershell: $SCOMAgent = New-Object -ComObject AgentConfigManager.MgmtSvcCfg $SCOMAgent.RemoveManagementGroup(“<ManagementGroupName>”) To add a management Group to a SCOM 2012 agent run the following commands from an … Continue reading

Posted in SCOM 2012 | Leave a comment

Error installing SCOM 2012 Console

When installing the OpsMgr 2012 console on a computer with .NET 4.0 you might get the following error in Omconsole.log System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.NotSupportedException: This method explicitly uses CAS policy, which … Continue reading

Posted in SCOM 2012 | Leave a comment