Windows Update can be run using Powershell commands.
1) Download the powershell module and put it in the path for PowerShell.
For example:
a) Download the PSWindowsUpdate.zip from here,
b) Unzip the package into c:\Windows\System32\WindowsPowerShell\v1.0\Modules
2) Start Powershell as Administrator
3) Set the execution policy to unrestricted
PS > set-executionpolicy unrestricted
4) Import the powershell Module
PS> Import-Module PSWindowsUpdate
5) Get the Windows update as follows:
PS> Get-WindowsUpdate

6) Install the Windows update as follows:
PS> Install-WindowsUpdate
