Revert "Simplfy Invoke-WPFUltimatePerformance.ps1 (#4319)" (#4333)

This reverts commit e30c0a4c27.
This commit is contained in:
Chris Titus
2026-04-07 13:04:02 -05:00
committed by GitHub
parent 372fa0159a
commit 419b150220
2 changed files with 80 additions and 19 deletions

View File

@@ -56,8 +56,8 @@ function Invoke-WPFButton {
"WPFClearInstallSelection" {Invoke-WPFPresets -imported $true -checkboxfilterpattern "WPFInstall*"}
"WPFtweaksbutton" {Invoke-WPFtweaksbutton}
"WPFOOSUbutton" {Invoke-WPFOOSU}
"WPFAddUltPerf" {Invoke-WPFUltimatePerformance -Do}
"WPFRemoveUltPerf" {Invoke-WPFUltimatePerformance}
"WPFAddUltPerf" {Invoke-WPFUltimatePerformance -State "Enable"}
"WPFRemoveUltPerf" {Invoke-WPFUltimatePerformance -State "Disable"}
"WPFundoall" {Invoke-WPFundoall}
"WPFUpdatesdefault" {Invoke-WPFUpdatesdefault}
"WPFUpdatesdisable" {Invoke-WPFUpdatesdisable}