Skip to content

IntuneAppCleaner

Tobias Almén edited this page Jun 29, 2023 · 1 revision

Description

This processor cleans up apps in Intune based on the input variables. It will keep the number of versions specified in the keep_version_count variable. It will delete the rest.

Should be used as a post-processor.

Example:

autopkg run -v \
--post com.github.almenscorner.intune-upload.processors/IntuneAppCleaner \
-k display_name=AltTab \
-k test_mode=True \
-k keep_version_count=5 \
AltTab.intune.recipe

Input variables

  • display_name

    • required: True,
    • description: The name of the app to clean up.
  • keep_version_count

    • required: False,
    • description: The number of versions to keep. Defaults to 3.
    • default: 3
  • test_mode

    • required: False
    • description: If True, will only print what would have been done.
    • default: False

Output variables

  • intuneappcleaner_summary_result
    • description: Description of interesting results.
Clone this wiki locally