Hi
When I try to use the following powershell cmdlet for scom, I receive the error message each time. In the opsmgr event log it shows the error and that is referenceing the "OperationsManager" database name. I am using a non-standard db name eg "OperationsManager01." Would this be hardcoded within the cmdlet itself that is causing it to fail? Can anyone else reproduce the problem?
Cmdlet:
Export-SCOMEffectiveMonitoringConfiguration : The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
Event log:
An exception was thrown while processing GetEffectiveMonitoring for session ID uuid:20410731-5f6e-4e95-aea8-bb2a358fb93a;id=22.
Exception message: Invalid object name 'OperationsManager.dbo.fn_AllBaseTypesAndSelf'. QueryDefinition 'EffectiveMonitoringWorkflow'.
Full Exception: Microsoft.EnterpriseManagement.Common.DatabaseObjectDoesNotExistException: Invalid object name 'OperationsManager.dbo.fn_AllBaseTypesAndSelf'. QueryDefinition 'EffectiveMonitoringWorkflow'. ---> System.Data.SqlClient.SqlException: Invalid
object name 'OperationsManager.dbo.fn_AllBaseTypesAndSelf'.