diff --git a/scripts/disable-services.ps1 b/scripts/disable-services.ps1 index 81729dc..4af0d22 100644 --- a/scripts/disable-services.ps1 +++ b/scripts/disable-services.ps1 @@ -29,5 +29,6 @@ $services = @( ) foreach ($service in $services) { + echo "Trying to disable $service" Get-Service -Name $service | Set-Service -StartupType Disabled } diff --git a/scripts/disable-windows-defender.ps1 b/scripts/disable-windows-defender.ps1 index fb14366..b35319d 100644 --- a/scripts/disable-windows-defender.ps1 +++ b/scripts/disable-windows-defender.ps1 @@ -13,6 +13,7 @@ foreach ($task in $tasks) { $name = $parts[-1] $path = $parts[0..($parts.length-2)] -join '\' + echo "Trying to disable scheduled task $name" Disable-ScheduledTask -TaskName "$name" -TaskPath "$path" } diff --git a/scripts/experimental_unfuckery.ps1 b/scripts/experimental_unfuckery.ps1 index 57a6e6f..e8ff8cb 100644 --- a/scripts/experimental_unfuckery.ps1 +++ b/scripts/experimental_unfuckery.ps1 @@ -27,6 +27,8 @@ $needles = @( ) foreach ($needle in $needles) { + echo "Trying to remove all packages containing $needle" + $pkgs = (ls "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages" | where Name -Like "*$needle*") diff --git a/scripts/remove-default-apps.ps1 b/scripts/remove-default-apps.ps1 index 9606cd3..5a25df7 100644 --- a/scripts/remove-default-apps.ps1 +++ b/scripts/remove-default-apps.ps1 @@ -62,6 +62,8 @@ $apps = @( ) foreach ($app in $apps) { + echo "Trying to remove $app" + Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage Get-AppXProvisionedPackage -Online |