[{"data":1,"prerenderedAt":269},["ShallowReactive",2],{"post:\u002F2014\u002F02\u002F10\u002Foncommand-core-delete-all-information-events\u002F":3},{"post":4,"newer":239,"older":249,"related":258,"series":267},{"id":5,"title":6,"body":7,"canonical":217,"categories":218,"date":221,"description":13,"extension":222,"featured":223,"hero":224,"image":224,"meta":225,"navigation":226,"path":227,"readingTime":54,"seo":228,"series":224,"seriesOrder":224,"sites":229,"source":231,"stem":232,"tags":233,"updated":236,"url":237,"__hash__":238},"blog\u002Fblog\u002F2014\u002F02\u002F10\u002Foncommand-core-delete-all-information-events.md","PowerShell: OnCommand Core – Delete All Information Events",{"type":8,"value":9,"toc":211},"minimark",[10,14,19,34,38,41,154,158,195,199,207],[11,12,13],"p",{},"Found a solution on the NetApp communities for deleting the Informational events that plague OnCommand Core.",[15,16,18],"h2",{"id":17},"requirements","Requirements",[20,21,22,31],"ul",{},[23,24,25,26,30],"li",{},"The Data ONTAP ",[27,28,29],"code",{},"dfm"," command-line tool, available on the OnCommand Core server.",[23,32,33],{},"A PowerShell prompt on the OnCommand Core server, and an account allowed to list and delete events.",[15,35,37],{"id":36},"usage","Usage",[11,39,40],{},"Run this in PowerShell on the OnCommand Core server. It lists the IDs of all Information events and deletes them one at a time.",[42,43,48],"pre",{"className":44,"code":45,"language":46,"meta":47,"style":47},"language-powershell shiki shiki-themes github-dark","dfm event list -q -S information |\n    Select-String -Pattern \"(?\u003CID>[0-9]+)\" |\n    Select-Object @{Name = \"ID\"; Expression = { $_.Matches[0].Groups[\"ID\"].Value }} |\n    ForEach-Object { dfm event delete $_.ID }\n","powershell","",[27,49,50,74,94,140],{"__ignoreMap":47},[51,52,55,59,63,66,68,71],"span",{"class":53,"line":54},"line",1,[51,56,58],{"class":57},"s95oV","dfm event list ",[51,60,62],{"class":61},"snl16","-",[51,64,65],{"class":57},"q ",[51,67,62],{"class":61},[51,69,70],{"class":57},"S information ",[51,72,73],{"class":61},"|\n",[51,75,77,81,84,87,91],{"class":53,"line":76},2,[51,78,80],{"class":79},"sDLfK","    Select-String",[51,82,83],{"class":61}," -",[51,85,86],{"class":57},"Pattern ",[51,88,90],{"class":89},"sU2Wk","\"(?\u003CID>[0-9]+)\"",[51,92,93],{"class":61}," |\n",[51,95,97,100,103,106,109,112,115,117,120,123,126,129,132,135,138],{"class":53,"line":96},3,[51,98,99],{"class":79},"    Select-Object",[51,101,102],{"class":61}," @",[51,104,105],{"class":57},"{Name ",[51,107,108],{"class":61},"=",[51,110,111],{"class":89}," \"ID\"",[51,113,114],{"class":57},"; Expression ",[51,116,108],{"class":61},[51,118,119],{"class":57}," { ",[51,121,122],{"class":79},"$_",[51,124,125],{"class":57},".Matches[",[51,127,128],{"class":79},"0",[51,130,131],{"class":57},"].Groups[",[51,133,134],{"class":89},"\"ID\"",[51,136,137],{"class":57},"].Value }} ",[51,139,73],{"class":61},[51,141,143,146,149,151],{"class":53,"line":142},4,[51,144,145],{"class":79},"    ForEach-Object",[51,147,148],{"class":57}," { dfm event delete ",[51,150,122],{"class":79},[51,152,153],{"class":57},".ID }\n",[15,155,157],{"id":156},"notes","Notes",[20,159,160,166,188],{},[23,161,162,165],{},[27,163,164],{},"dfm event list -q -S information"," is the key part of this line. It prints only the IDs of the events whose severity is Information.",[23,167,168,171,172,175,176,179,180,183,184,187],{},[27,169,170],{},"Select-String"," picks the numeric event ID out of each line, ",[27,173,174],{},"Select-Object"," turns it into an ",[27,177,178],{},"ID"," property, and ",[27,181,182],{},"ForEach-Object"," calls ",[27,185,186],{},"dfm event delete"," with each ID.",[23,189,190,191,194],{},"If you’d want to delete all events, remove the ",[27,192,193],{},"-S information"," from the line. This deletes events of every severity, so use it with care.",[15,196,198],{"id":197},"source","Source",[11,200,201],{},[202,203,204],"a",{"href":204,"rel":205},"https:\u002F\u002Fcommunities.netapp.com\u002Fmessage\u002F94591#94591",[206],"nofollow",[208,209,210],"style",{},"html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":47,"searchDepth":76,"depth":76,"links":212},[213,214,215,216],{"id":17,"depth":76,"text":18},{"id":36,"depth":76,"text":37},{"id":156,"depth":76,"text":157},{"id":197,"depth":76,"text":198},"techcolumnist",[219,220],"ps","scripts","2014-02-10T11:56:00Z","md",false,null,{},true,"\u002Fblog\u002F2014\u002F02\u002F10\u002Foncommand-core-delete-all-information-events",{"title":6,"description":13},[230,217],"lasswell","both","blog\u002F2014\u002F02\u002F10\u002Foncommand-core-delete-all-information-events",[29,234,235,46],"netapp","oncommand","2026-09-20T00:00:00Z","\u002F2014\u002F02\u002F10\u002Foncommand-core-delete-all-information-events\u002F","R8O0XJHTmrK0JuqrcAuM5XsZYhHmQnOJpp5D1pzw6Oo",{"title":240,"description":241,"date":242,"url":243,"categories":244,"tags":246,"image":224,"readingTime":54,"canonical":217,"sites":248,"series":224,"seriesOrder":224},"PowerShell: NetApp – Gather Volume Information","This is a simple script to gather volume information including dedupe schedule and autogrow settings.","2014-04-28T12:57:58Z","\u002F2014\u002F04\u002F28\u002Fpowershell-netapp-gather-volume-information\u002F",[245,219,220],"dotps",[234,46,247],"script",[230,217],{"title":250,"description":251,"date":252,"url":253,"categories":254,"tags":255,"image":224,"readingTime":54,"canonical":217,"sites":257,"series":224,"seriesOrder":224},"PowerShell: NetApp – Gather Snapshot Details","Gathering snapshot statistics is a tedious task when looking at autosupports and cli output.","2014-01-21T16:15:38Z","\u002F2014\u002F01\u002F21\u002Fpowershell-gather-netapp-snapshot-details\u002F",[245,219,220],[234,46,256],"snapshots",[230,217],[239,249,259],{"title":260,"description":261,"date":262,"url":263,"categories":264,"tags":265,"image":224,"readingTime":54,"canonical":217,"sites":266,"series":224,"seriesOrder":224},"PowerShell: Find Installed NetApp Products","A slightly modified version of a scriptingGuy post to find NetApp software installed from a csv file (export from active directory)","2013-09-03T17:32:50Z","\u002F2013\u002F09\u002F03\u002Fpowershell-find-installed-netapp-products\u002F",[219,220],[234,46],[230,217],{"doc":224,"posts":268},[],1789970931630]