Here I am late to the game, but noone has mentioned using
wusa.exe yet which is part of Windows 7.
I wanted to remove the Windows 10 Update icon from the taskbar, so I wrote this autohotkey script which invokes wusa.
wusa := "c:\windows\system32\wusa.exe"
runwait %wusa% /uninstall /kb:2952664 /norestart
runwait %wusa% /uninstall /kb:3021917 /norestart
runwait, %wusa% /uninstall /kb:3035583 /norestart
msgbox, okay, all done!`rDon't forget to -hide- the updates now.
So you can use
wusa.exe to manage windows updates and install
Here are the commandline parameters for
wusa.exe /uninstall /kb:123456 /quiet /norestart
wusa.exe Windows6.1-KB123456-x86.msu /quiet /norestart
This page has a collection of other ways to manage updates from the commandline.
This page explains how wusa.exe works.
To see what updates are installed (via commandline):
systeminfo | find ": KB"