Hi All,
Unable to Disable the class instance via powershell. Please find the error message and help me with a solution
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.
PS C:\Users\XYZ> Import-Module operationsmanager
PS C:\Users\XYZ> Remove-SCOMDisabledClassInstance
**WARNING** This operation WILL result in class instances and relationships being permanently deleted. This operation i
s irreversible and will likely result in a significant amount of activity in the operational database. Are you sure you
want to do this? [Y/N]
Y
Started. This operation may take a very long time to complete.
Remove-SCOMDisabledClassInstance : Error 777980004, severity 16, state 1 was raised, but no message with that error
number was found in sys.messages. If error is larger than 50000, make sure the user-defined message is added using
sp_addmessage.
At line:1 char:1
+ Remove-SCOMDisabledClassInstance
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo :InvalidOperation: (Microsoft.Syste...nstancesCommand:RemoveSCDisabledClassInstancesComma
nd) [Remove-SCOMDisabledClassInstance], UnknownDatabaseException
+ FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.OperationsManagerV10.Commands.RemoveSCDisabledClas
sInstancesCommand
Thanks
Zeeshan
Thanks and Regards Zeeshan J Mohammed