From f2aec36a83bcce03a77331c848d2847e0725d620 Mon Sep 17 00:00:00 2001 From: Jeffrey <9938813+Raphire@users.noreply.github.com> Date: Tue, 14 Jul 2026 21:57:43 +0200 Subject: [PATCH] Update docstrings --- Scripts/AppRemoval/RemoveApps.ps1 | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Scripts/AppRemoval/RemoveApps.ps1 b/Scripts/AppRemoval/RemoveApps.ps1 index 73ed4b4..180c3d8 100644 --- a/Scripts/AppRemoval/RemoveApps.ps1 +++ b/Scripts/AppRemoval/RemoveApps.ps1 @@ -6,9 +6,8 @@ Iterates over the provided list of app identifiers and removes each one. The removal method (winget vs. Appx cmdlets) is determined per-app from Apps.json. A scheduled task is only created when the User or Sysprep - parameter was passed. - After each winget removal, the system is checked to confirm whether the - app is still installed before reporting an error. + parameter was passed. After winget removal, the system is checked to + confirm whether the app is still installed before reporting an error. .PARAMETER appsList An array of app package identifiers to remove (e.g. 'Microsoft.BingNews'). @@ -98,14 +97,11 @@ function RemoveApps { <# .SYNOPSIS - Uninstalls a non-Edge app via WinGet and/or schedules its removal. + Uninstalls an app via WinGet and/or schedules its removal. .DESCRIPTION Runs winget uninstall for a single app. If the User or Sysprep parameter was passed, also schedules removal for future logins. - After uninstall, the system is checked to confirm whether the app - is still present — winget output is not trusted on its - own, as it sometimes reports failure after a successful removal. .PARAMETER app The WinGet package ID to uninstall (e.g. 'Microsoft.BingNews').