Skip to content

Commit

Permalink
misc/refactor: rename optimize-scheduled-tasks to optimize-task-sch…
Browse files Browse the repository at this point in the history
…eduler
  • Loading branch information
LeDragoX committed May 19, 2022
1 parent d592fe3 commit fcf0224
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 |
- Register daily upgrade logs on `C:\Users\Username\AppData\Local\Temp\Win10-SDT-Logs` and remove old log files;
- Download AdwCleaner and Run the latest version of for Virus/Adware scan; ([`silent-debloat-softwares.ps1`](./src/scripts/silent-debloat-softwares.ps1))
- Download OOShutUp10 and import all Recommended settings;
- Disable Telemetry from Scheduled Tasks and Optimize it; ([`optimize-scheduled-tasks.ps1`](./src/scripts/optimize-scheduled-tasks.ps1))
- Disable Telemetry from Scheduled Tasks and Optimize it; ([`optimize-task-scheduler.ps1`](./src/scripts/optimize-task-scheduler.ps1))
- Disable heavy Services, but enable some on SSDs for optimum performance; ([`optimize-services.ps1`](./src/scripts/optimize-services.ps1))
- Remove Bloatware UWP Apps that comes with Windows 10+, except from my choice; ([`remove-bloatware-apps.ps1`](./src/scripts/remove-bloatware-apps.ps1))
- Optimize Privacy by disabling more telemetry stuff and changing GPOs; ([`optimize-privacy.ps1`](./src/scripts/optimize-privacy.ps1))
Expand Down
2 changes: 1 addition & 1 deletion Win10ScriptCLI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function Open-Script() {
"backup-system.ps1",
"install-package-managers.ps1",
"silent-debloat-softwares.ps1",
"optimize-scheduled-tasks.ps1",
"optimize-task-scheduler.ps1",
"optimize-services.ps1",
"remove-bloatware-apps.ps1",
"optimize-privacy.ps1",
Expand Down
4 changes: 2 additions & 2 deletions Win10ScriptGUI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ function Show-GUI() {
# [Recommended order]
"backup-system.ps1",
"silent-debloat-softwares.ps1",
"optimize-scheduled-tasks.ps1",
"optimize-task-scheduler.ps1",
"optimize-services.ps1",
"remove-bloatware-apps.ps1",
"optimize-privacy.ps1",
Expand All @@ -676,7 +676,7 @@ function Show-GUI() {
$UndoTweaks.Add_Click( {
$Global:Revert = $true
$Scripts = @(
"optimize-scheduled-tasks.ps1",
"optimize-task-scheduler.ps1",
"optimize-services.ps1",
"optimize-privacy.ps1",
"optimize-performance.ps1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Import-Module -DisableNameChecking $PSScriptRoot\..\lib\"title-templates.psm1"
# Adapted from: https://github.com/Sycnex/Windows10Debloater
# Adapted from: https://github.com/kalaspuffar/windows-debloat

function Optimize-ScheduledTasksList() {
function Optimize-TaskScheduler() {
[CmdletBinding()]
param (
[Switch] $Revert
Expand Down Expand Up @@ -47,7 +47,7 @@ function Optimize-ScheduledTasksList() {
"\Microsoft\Windows\Windows Error Reporting\QueueReporting" # Windows Error Reporting event, needed to improve compatibility with your hardware
)

Write-Title -Text "Scheduled Tasks tweaks"
Write-Title -Text "Task Scheduler tweaks"
Write-Section -Text "Disabling Scheduled Tasks"

If ($Revert) {
Expand All @@ -68,10 +68,10 @@ function Main() {
#Get-ScheduledTask | Select-Object -Property State, TaskPath, TaskName, Description | Sort-Object State, TaskPath, TaskName | Out-GridView

If (!$Revert) {
Optimize-ScheduledTasksList # Disable Scheduled Tasks that causes slowdowns
Optimize-TaskScheduler # Disable Scheduled Tasks that causes slowdowns
}
Else {
Optimize-ScheduledTasksList -Revert
Optimize-TaskScheduler -Revert
}
}

Expand Down

0 comments on commit fcf0224

Please sign in to comment.