Merge pull request #1 from vinylourson/master

spelling and grammatical improvements
This commit is contained in:
Yorick Barbanneau 2016-01-19 17:51:24 +01:00
commit 8677472449
2 changed files with 11 additions and 12 deletions

View file

@ -2,12 +2,12 @@ Remove-kb
--------- ---------
A little powershell script to uninstall and hide some updates. I use it to 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 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 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. * **remove-kb.ps1** : the powershell script itself.
To add or remove uninstalled / hidden KB you nedd to modify $kbIDs To add or remove uninstalled / hidden KB you nedd to modify $kbIDs
@ -19,14 +19,13 @@ Remove-kb
#TODO #TODO
* Add privilege elevation error when not launch scrip with Administrator right * Add privilege elevation error when the script is not launched with Administrator's rights
* Add possibility of arguments for remove KB (then ps script could be call from * Add the possibility to use arguments when calling the script (then ps script could be call from
another script) another script)
* Write a function for removing like hide_update * Update the windows update list to hide kb that aren't yet listed
* Update the windows update list to hidde kb than aren't yet listed
* Speed up hide_update * Speed up hide_update
* **Tell me** * **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

View file

@ -1,6 +1,6 @@
@echo off @echo off
cd /d "%~dp0" cd /d "%~dp0"
REM CMD exectition script for remove-kb.ps1 REM CMD execution script for remove-kb.ps1
echo Change ps execution policy ... echo Change ps execution policy ...
powershell set-executionpolicy unrestricted powershell set-executionpolicy unrestricted
@ -8,6 +8,6 @@ echo .
echo Launch remove-kb script ... echo Launch remove-kb script ...
powershell "%~dp0remove-kb.ps1" powershell "%~dp0remove-kb.ps1"
echo REstore ps execution policy ... echo Restore ps execution policy ...
powershell set-executionpolicy restricted powershell set-executionpolicy restricted
PAUSE PAUSE