You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
[4.2.3] - 2026-09-18
Added
-RemoveDefenderGamingExclusions reverses -AddDefenderGamingExclusions. The gaming exclusions could be added but not removed through Winnow, which was out of step with the tool's reversibility. Both operations now share one path list (Get-DefenderGamingExclusionPaths) so they cannot drift, and the remove clears every path even if the game directory no longer exists.
Security
Pass the winget package id to the software installer as a discrete argument instead of interpolating it into one command line. A crafted id containing a double quote could otherwise have injected extra winget flags. No caller feeds an untrusted id today (the list is the curated default or the user's own selection), so this is defense-in-depth that removes the injection surface. Covered by Test-SoftwareInstaller.ps1.