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: 1.1.2 – Create Azure AD Administrative Units

AAD User and Group Creation MS Docs: Administrative Units in Azure Active Directory Manage Administrative Units in Azure AD  I'm a public sector IT Administrator, specializing in configuration management and mobility.¬†About Administrative Units  ...

AZ-104: 1.1.1 – Create Azure AD Users and Groups

AAD User and Group Creation MS Docs: Add or Delete Users Using Azure Active Directory Create a Basic Group and Add Members Using Azure AD Create or Update a Dynamic Group in Azure AD Azure AD Group POSH Cmdlets I'm a public sector IT Administrator, specializing in...

Azure Certs For Sysadmins

Azure Certifications for the Infrastructure Specialists   There was a Reddit thread on /r/sysadmin a few days ago: What Azure skills/certs lean more towards server sysadmin than applications? It's easy to argue that you shouldn't try to pigeonhole yourself into...