This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Cleans the configuration manager client cache. | |
.DESCRIPTION | |
Cleans the configuration manager client cache of all unneeded with the option to delete persisted content. | |
.PARAMETER CleanupActions | |
Specifies cleanup action to perform. ('All', 'Applications', 'Packages', 'Updates', 'Orphaned'). Default is: 'All'. | |
If it's set to 'All' all cleaning actions will be performed. | |
.PARAMETER LowDiskSpaceThreshold | |
Specifies the low disk space threshold percentage after which the cache is cleaned. Default is: '100'. |