Comments
-
Fixed it. Should have used Object ID instead of alert ActiveID Thanks all
-
Thank you for your reply. The query works well, but it is not closing active alerts as expected. I have 10 active alerts older than 355 days but not closed after running the script. Please let me know where I am going wrong Import-Module SwisPowerShell $creds = Get-Credential # display a window asking for credentials $swis…
-
Hi, Could you please let me know what is wrong in below script, $alertid = @(Get-SwisData $swis 'SELECT AlertActiveID FROM Orion.AlertActive WHERE TriggeredDateTime < GETDATE()-355') Invoke-SwisVerb $swis Orion.AlertActive ClearAlert $alertid Getting below error.Invoke-SwisVerb : Verb Orion.AlertActive.ClearAlert cannot…
-
@"sfrederiksen" , Was there any progress? were you able to get Error details in SolarWinds? Is any workaround available? Regards, SSS