Revert "Revert "Simplfy Invoke-WPFUltimatePerformance.ps1"" (#4335)

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

This reverts commit 419b150220.

* Refactor Invoke-WPFUltimatePerformance function to use "ChrisTitus - Ultimate Power Plan" naming and improve power plan management

* add message for laptop users

* Remove activation of "ChrisTitus - Ultimate Power Plan" during setup
This commit is contained in:
Chris Titus
2026-04-07 14:09:31 -05:00
committed by GitHub
parent 61bce6afda
commit c453f260cf
4 changed files with 31 additions and 80 deletions

View File

@@ -16,7 +16,7 @@ description: ""
$Appx = (Get-AppxPackage MicrosoftWindows.Client.CoreAI).PackageFullName
$Sid = (Get-LocalUser $Env:UserName).Sid.Value
New-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Appx\\AppxAllUserStore\\EndOfLife\\$Sid\\$Appx\" -Force
Remove-AppxPackage $Appx