diff --git a/README.md b/README.md index 11e5731..95f1106 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ Remove-kb --------- A little powershell script to uninstall and hide some updates. I use it to - remove unwanted Windows 10 upgrade. this is a really simple script just for - my need, but I propably improve it. This script need Adminitrator right + remove unwanted Windows 10 upgrade. This is a really simple script just for + my need, but I will propably improve it. This script needs Adminitrator's rights. - There are two part + There are two parts - * **lancher.cmd** : a winbatch script to launch powershell one. + * **launcher.cmd** : a winbatch script to launch powershell one. * **remove-kb.ps1** : the powershell script itself. To add or remove uninstalled / hidden KB you nedd to modify $kbIDs @@ -19,14 +19,13 @@ Remove-kb #TODO - * Add privilege elevation error when not launch scrip with Administrator right - * Add possibility of arguments for remove KB (then ps script could be call from + * Add privilege elevation error when the script is not launched with Administrator's rights + * Add the possibility to use arguments when calling the script (then ps script could be call from another script) - * Write a function for removing like hide_update - * Update the windows update list to hidde kb than aren't yet listed + * Update the windows update list to hide kb that aren't yet listed * Speed up hide_update * **Tell me** -#Licence +#License -Do what you're whant and fell free to offer me a beer :D +Do what you want and feel free to offer me a beer :D diff --git a/launcher.cmd b/launcher.cmd index 8a0efc4..d57ee98 100755 --- a/launcher.cmd +++ b/launcher.cmd @@ -1,6 +1,6 @@ @echo off cd /d "%~dp0" -REM CMD exectition script for remove-kb.ps1 +REM CMD execution script for remove-kb.ps1 echo Change ps execution policy ... powershell set-executionpolicy unrestricted @@ -8,6 +8,6 @@ echo . echo Launch remove-kb script ... powershell "%~dp0remove-kb.ps1" -echo REstore ps execution policy ... +echo Restore ps execution policy ... powershell set-executionpolicy restricted PAUSE