Skip to content

Add Manage-WindowsInstallerCache documentation#702

Merged
Rj98-sh merged 9 commits into
mainfrom
Delete-orphaned-files
Jun 10, 2026
Merged

Add Manage-WindowsInstallerCache documentation#702
Rj98-sh merged 9 commits into
mainfrom
Delete-orphaned-files

Conversation

@devanladdu

Copy link
Copy Markdown
Contributor

Introduce docs/powershell/manage-windowsinstallercache.md describing the Manage-WindowsInstallerCache PowerShell utility. The document covers purpose, safety model, multi-layer validation sources (API, COM, registry, filesystem), process/functions, parameters, usage examples (dry-run, quarantine, restore, delete), logging/output, testing guidance, and an initial changelog entry (2026-06-01).

devanladdu and others added 9 commits June 1, 2026 10:37
Introduce docs/powershell/manage-windowsinstallercache.md describing the Manage-WindowsInstallerCache PowerShell utility. The document covers purpose, safety model, multi-layer validation sources (API, COM, registry, filesystem), process/functions, parameters, usage examples (dry-run, quarantine, restore, delete), logging/output, testing guidance, and an initial changelog entry (2026-06-01).
Update Manage-WindowsInstallerCache docs to use new tag set (windows, disk-cleanup, installation, security) and change the default LogPath from .\Logs to C:\ProgramData\_Automation\Script\Manage-WindowsInstallerCache. Adjust example output and sample Json/Csv/manifest paths to reflect the centralized ProgramData Automation log location.
Refactor and condense the Manage-WindowsInstallerCache documentation for clarity and brevity. Updated the top-level description to focus on safe identification and quarantine of orphaned installer files, replaced the verbose safety-model and process sections with a concise overview, and converted the Parameters list into a compact table including types. Clarified usage examples, simplified the Outputs section and default log location, removed sample dry-run output and the detailed testing guide, and updated the changelog. Documentation-only changes; no code or behavioral changes.
Update Manage-WindowsInstallerCache documentation: bump last_update to 2026-06-08, replace relative example manifest paths with the absolute LogPath, clarify the ManifestPath parameter (how manifests are produced and used), mention the default Quarantine folder in the parameter table, and add a changelog entry noting the corrected LogPath default.
Update Manage-WindowsInstallerCache documentation to clarify validation and safety behavior. Changes include:

- Expanded Description to list validation sources (Windows Installer API, COM object, and registry) and emphasize scan-only default.
- Renamed scan usage to "Dry-run scan" and removed interactive `-Confirm` flags from examples; added `-Force` example to quarantine unverified items.
- Added a File Classifications table (SAFE_ORPHAN, POSSIBLE_REFERENCE, UNVERIFIED, ACTIVE_REFERENCE) and explained quarantine eligibility.
- Improved parameter descriptions (Quarantine, Delete, Restore, ManifestPath, Force) and listed exact output artifacts and paths.
- Added sample output and a changelog entry (2026-06-09) documenting the doc updates.

These edits aim to make the tool's safety model, CLI examples, and produced artifacts clearer for operators.

@Rj98-sh Rj98-sh left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Successfully tested all the parameters
  • Created manifest with unverified file and for that a force parameter was required
  • Removed manifested files
  • Restored manifested files
  • Halo Ticket: 370914

@Rj98-sh Rj98-sh merged commit 437c275 into main Jun 10, 2026
1 check passed
@Rj98-sh Rj98-sh deleted the Delete-orphaned-files branch June 10, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants