Skip to content

Latest commit

 

History

History
133 lines (95 loc) · 4.99 KB

File metadata and controls

133 lines (95 loc) · 4.99 KB

Invoke-CCMCacheCleanup release history

7.0.0 - 2024-10-09

  • [Reverted] - Added warning on incorrect CacheType = 'Orphaned' in conjunction with CleanupType = 'Tombstoned' parameter usage.
  • [Breaking] - Removed the multiple value usage in CleanupType parameter. Only one value can be used at a time. (Issue #20) @mbradley73.
  • Fixed Automatic cleanup exit condition. (Issue #20, Issue #21) @mbradley73 and @Life-of-Roy.
  • Added Total Found and Total Deleted counters.
  • Added more explicit self-help comments.
  • Fixed a bunch of typos and grammar issues.

6.0.4 - 2024-09-23

  • Added warning on incorrect CacheType = 'Orphaned' in conjunction with CleanupType = 'Tombstoned' parameter usage (Issue #20) @mbradley73.

6.0.3 - 2024-08-19

  • Fixed one instance of ScriptSection parameter being passed to Write-Log as {CmdletName} instead of {ScriptSection}

6.0.2 - 2023-08-01

  • Fixed FreeDiskSpaceThreshold terminating the script if Automatic cleanup type is not selected and free disk space is over threshold.
  • Renamed default log to Invoke-CCMCleanup if LogSource is not specified.

6.0.1 - 2023-07-28

  • Fixed Error getting cached element for Package type
  • Added ListOnly CleanupType option

6.0.0 - 2023-07-28

5.0.0 - 2022-09-28

  • Renamed script to Invoke-CCMCacheCleanup to as per PowerShell verb requirements
  • Moved the the MEM.Zone repo. Old location will no longer be maintained
  • Changed links to MEM.Zone. Links redirects will follow.

4.1.0 - 2019-07-30

Changes (Fixed by Wolfereign - Big Thanks!)

  • Fixed skip cache bug with LastReferenceTime by changing $OlderThan date to UTC.
  • Fixed skip cache bug where script handles only 'Install' action type.

4.0.0 - 2019-03-15

  • Fixed error on ContentID with multiple CacheElementIDs
  • [Breaking] Changed the logic of the Get-* functions
  • [Breaking] Changed the logic of the Remove* functions
  • [Breaking] Changed the parameter name of the Remove-CacheElementFunction function
  • Added Orphaned WMI cache cleanup (Previously it was disk only)
  • Some code cleanup

3.5.0 - 2018-09-13

  • Fixed Get-Help functionality.
  • Moved written requirements to #Required statement
  • Added full Get-Help support
  • Code cleanup

3.4.0 - 2018-08-30

  • Fixed Write-log inconsistencies
  • Fixed Incorrect size for orphaned items cleanup
  • Fixed 00:00:00 time in support center log viewer
  • Changed task category to 'None'

Changes

  • Simplified log naming and source by merging to $script:LogName and $script:LogSource variables only
  • Simplified Write-Log parameter requirements by removing the requirement for $Source and using $ScriptSection
  • Changed Write-Log to use $script:Section by default instead of $Source. (It can still be specified if needed)
  • Added option to log debug messages
  • Added event source deletion if the event log source already exists
  • Moved release log to separate markdown file

3.3.0 - 2018-08-07

  • Fixed division by 0
  • Added basic debug info

3.2.0 - 2018-07-10

  • Fixed should run bug

3.1.0 - 2018-07-09

  • Added ReferencedThreshold
  • Fixed lots of bugs

3.0.0 - 2018-07-05

  • Added better logging and logging options by adapting the PADT logging cmdlet. (Slightly modified version)
  • Added support for verbose and debug to the PADT logging cmdlet
  • Added more cleaning options
  • Added LowDiskSpaceThreshold option to only clean cache when there is not enough space on the disk.
  • Added SkipSuperPeer, for Peer Cache 'Hosts'
  • Added ReferencedThreshold, for skipping cache younger than specified number of days
  • Added ConfigurationItem support
  • Fixed persisted cache cleaning, it's not removed without the RemovePersisted switch
  • Fixed orphaned cache cleaning and it's not a hack anymore
  • Fixed error reporting
  • Moved file log in $Env:WinDir\Logs\Configuration Manager\Clean-CCMClientCache.log
  • Optimized for speed
  • Optimized the functionality by splitting correctly into functions
  • Optimized Cmdlets to be module friendly
  • Optimized by complete re-write

1.1.0 - 2.9.0 (2015 - 2018)

  • Fixed first time run logging bug @Walker
  • Fixed remove package bug, better logging @ChristopherWinney
  • Fixed TotalSize decimals
  • Fixed NULL ContentID
  • Added eventLog logging support
  • Added check for not downloaded Cache Items
  • Added Orphaned cache cleanup
  • Added Improved logging
  • Added Basic error Management

1.0.0 - 2015-11-13

First version

  • Cleans the configuration manager client cache of all unneeded with the option to delete persisted content