How to check required KB patches on windows machines using command line.
Release : 14.5
Component :
You can check for Windows updates without downloading or installing them by using one of the following methods:
SCONFIG
1. Open PowerShell® and type sconfig.
2.Type 6 to open the Windows Updates menu.
3.Type a to look for all available updates or r to search for only recommended updates.
4.All available updates now display in the list.
5.Type n to close the menu without installing any updates.
PowerShell cmdlet: PSWindowsUpdate
Open PowerShell and use the following command, which requires Administrator permissions:
Install-Module -Name PSWindowsUpdate -RequiredVersion 2.1.1.2`
Confirm that you want to install the cmdlet by typing Y.
After the installation finishes, type get-windowsupdate to see a list of all available updates.