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

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...

AZ-104: 1.1.4 – Manage Azure AD Device Settings

AAD User and Group Creation   MS Docs: Manage Device Identities Using the Azure Portal Manage Stale Devices in Azure AD  I'm a public sector IT Administrator, specializing in configuration management and mobility. Notes on This Section Azure Portal ->...