OnCommand Core: Delete all Information Events

Found a solution on the NetApp communities for deleting the Informational events that plague OnCommand Core.


dfm event list -q -S information | Select-String -Pattern "(?<ID>[0-9]+)" | select-object @{Name="ID";Expression={$_.Matches[0].Groups["ID"].Value}} | foreach {dfm event delete $_.ID}

“dfm event list -q -S information” is the key part of this line, if you’d want to delete all events remove the “-S information” from the line.

Leave a Reply