fbpx
Select Page

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