From cca4844e6a6ce5bc09a22bf54323b131249b7912 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Thu, 22 Feb 2018 12:44:54 +0100 Subject: [PATCH] Syntax error for disable_shitty_service() call --- cleanW10.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cleanW10.ps1 b/cleanW10.ps1 index 2c11687..4aff860 100755 --- a/cleanW10.ps1 +++ b/cleanW10.ps1 @@ -209,7 +209,7 @@ foreach ($line in Get-Content "lib\ip.txt"){ block_shitty_ip $line } Write-Host -ForegroundColor White "`nDisable features :" foreach ($line in Get-Content "lib\features.txt"){ disable_shitty_feature $line } Write-Host -ForegroundColor White "`nDisable services :" -foreach ($line in Get-Content "lib\services.txt") { disable_shitty_featureService $line } +foreach ($line in Get-Content "lib\services.txt") { disable_shitty_service $line } Write-Host -ForegroundColor White "`nRemove modern apps :" Get-AppxPackage -AllUsers | Where-Object { $_.name -in $(Get-Content "lib\apps.txt")} | foreach {