fbpx

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

AZ-104 Booked

Here We Go Again Thanks to Microsoft Ignite for the voucher!   Sort of a Tight Timeline I'm going to sit for the AZ-104 on Friday, 1/14/22.  Why? I needed a Testing Center During the latter stages of 2021, I studied intending to take the exam from home. I...