mirror of
https://github.com/builtbybel/BloatyNosy.git
synced 2024-11-22 07:53:14 +01:00
Add files via upload
This commit is contained in:
parent
d4c8ab0af9
commit
90f5edccbd
12
mods/Ultimate Performance Mode.ini
Normal file
12
mods/Ultimate Performance Mode.ini
Normal file
@ -0,0 +1,12 @@
|
||||
[Info]
|
||||
DisplayName=Enable Ultimate Performance Mode
|
||||
Publisher=Builtbybel - https://www.builtbybel.com
|
||||
AboutScript=Microsoft added the "Ultimate Performance mode" power scheme to Windows 10 April 2018 Update to optimize the system's performance, especially high-end PCs. The "Ultimate Performance" power plan option may not be available on some systems, especially if you are using a laptop.
|
||||
ScriptLanguage=PowerShell
|
||||
ConditionScript=ultimate_performance-mode.ps1
|
||||
CreateNoWindow=true
|
||||
|
||||
|
||||
|
||||
|
||||
|
15
mods/ultimate_performance-mode.ps1
Normal file
15
mods/ultimate_performance-mode.ps1
Normal file
@ -0,0 +1,15 @@
|
||||
[reflection.assembly]::loadwithpartialname("System.Windows.Forms") | Out-Null
|
||||
$msgBoxInput = [System.Windows.Forms.MessageBox]::Show('Do you want to enable the Ultimate Performance power plan?','Tweakomatic','YesNo','Question')
|
||||
|
||||
switch ($msgBoxInput) {
|
||||
|
||||
'Yes' {
|
||||
|
||||
powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61
|
||||
|
||||
[System.Windows.Forms.MessageBox]::Show('Power plan has been successfully enabled. Now open Settings and navigate to System > Power & sleep > Additional Power Settings and enable the Ultimate Performance power plan.')
|
||||
}
|
||||
|
||||
'No'{}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user