SCCM: Delete Old or Expired Client Operations Entries

Microsoft Endpoint Configuration Manager (MEMCM) Admin Console Location:

\Monitoring\Overview\Client Operations

Here’s the Solution Straight Away:

In Your ConfigMgr admin console, connect to your site via PowerShell and run the following script as a one-liner:

Foreach($cmopentry in Get-CMClientOperation)
   If ($cmopentry.IsExpired -eq 1)
      Remove-CMClientOperation -Id $cmopentry.ID -Force

The script will take several minutes to execute if you have a lot of entries,, so be patient with it.

More From Craig

How SCCM Became MEMCM, or Just ConfigMgr

SCCM? ConfigMgr? SMS? MEMCM? When you start working on Configuration Manager, one of the more puzzling things is how you're supposed to refer to it in the first place.  You might know someone who still calls it "SMS". Or at least you're wondering why "SMS" keeps...

Tableau: Create a Header For a Calculated Column

Get that Pesky Column Name BackSomething I learned today while using Tableau Public that I wanted to jot down for later.  The Problem:  You have a table with a calculated column You add that calculated column to your sheet, but there is no header for that column shown...