tag:blogger.com,1999:blog-4414432572587218573.post6119299293045800337..comments2023-05-06T15:20:16.638+02:00Comments on Thoughts on Azure, OMS & SCOM: Cross Post: SCOM 2012x UNIX/Linux Computers View Error: ‘An Item With The Same Key Has Already Been Added’Marnix Wolfhttp://www.blogger.com/profile/09487479325587450184noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4414432572587218573.post-72880200200346507252015-11-18T14:49:41.080+01:002015-11-18T14:49:41.080+01:00We have the same issue. All servers on 2012R2 UR8....We have the same issue. All servers on 2012R2 UR8. We upgraded from 2012sp1 UR5 4 weeks ago. Anonymoushttps://www.blogger.com/profile/10242411459895483925noreply@blogger.comtag:blogger.com,1999:blog-4414432572587218573.post-40355940723652019002015-02-11T17:46:51.072+01:002015-02-11T17:46:51.072+01:00You can also use this:
Import-Module OperationsMa...You can also use this:<br /><br />Import-Module OperationsManager<br />#get the duplicates<br />$Values1 = Get-SCOMClass -Name Microsoft.Unix.OperatingSystem | Get-SCOMClassInstance | select -ExpandProperty Path<br />$Values2 = Get-SCOMClass -Name Microsoft.Unix.OperatingSystem | Get-SCOMClassInstance | select -ExpandProperty Path | select -Unique<br />$result = Compare-Object -ReferenceObject $Values1 -DifferenceObject $Values2<br />$result<br />#to remove the agents<br />$SCXagents = $result.InputObject | % { Get-SCXAgent -Name $_ }<br />$SCXagents | Remove-SCXAgent -VerboseEne Mariushttps://www.blogger.com/profile/01235472549913844672noreply@blogger.comtag:blogger.com,1999:blog-4414432572587218573.post-30360016817137472162014-10-08T18:34:05.517+02:002014-10-08T18:34:05.517+02:00I have this exact same issue and I opened a case w...I have this exact same issue and I opened a case with Microsoft tech support on it. Their answer was that this issue is fixed with the latest update rollup patches. I am on SP1 UR2 so they basically said this issue was fixed in UR7.Wilson W.https://www.blogger.com/profile/12009662896586111310noreply@blogger.com