Skip to content

Simplify and make Invoke-WinUtilTweaks.ps1 standalone#4697

Open
GabiNun2 wants to merge 12 commits into
ChrisTitusTech:mainfrom
GabiNun2:patch-5
Open

Simplify and make Invoke-WinUtilTweaks.ps1 standalone#4697
GabiNun2 wants to merge 12 commits into
ChrisTitusTech:mainfrom
GabiNun2:patch-5

Conversation

@GabiNun2

@GabiNun2 GabiNun2 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Type of Change

  • New feature
  • Bug fix
  • Documentation update
  • Refactor
  • UI/UX improvement

Description

Consolidates Set-WinUtilService, Invoke-WinUtilScript, Remove-WinUtilAPPX, and Set-WinUtilRegistry directly into Invoke-WinUtilTweaks.ps1, removing the need for those separate functions.

Removed duplicate APPX removal logic Remove-AppxPackage -AllUsers and Remove-AppxProvisionedPackage are the same thing

Dropped the sc.exe fallback for AutomaticDelayedStart we never set services to that state

Removed the $changeservice thingy because it dosen't mattter if we try to set a service that dosen't exist it won't error out anyways

@GabiNun2 GabiNun2 requested a review from ChrisTitusTech as a code owner June 12, 2026 10:58
@GabiNun2 GabiNun2 changed the title Simplify Invoke-WinUtilTweaks.ps1 and removed Set-WinUtilService.ps1 Simplify Invoke-WinUtilTweaks.ps1 and removed Set-WinUtilService.ps1 + Invoke-WinUtilScript Jun 12, 2026
@GabiNun2 GabiNun2 changed the title Simplify Invoke-WinUtilTweaks.ps1 and removed Set-WinUtilService.ps1 + Invoke-WinUtilScript Simplify Invoke-WinUtilTweaks.ps1 and removed Set-WinUtilService.ps1 + Invoke-WinUtilScript.ps1 + Remove-WinUtilAPPX.ps1 Jun 12, 2026
@GabiNun2 GabiNun2 changed the title Simplify Invoke-WinUtilTweaks.ps1 and removed Set-WinUtilService.ps1 + Invoke-WinUtilScript.ps1 + Remove-WinUtilAPPX.ps1 Simplify and make Invoke-WinUtilTweaks.ps1 standalone Jun 12, 2026
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.

1 participant