29 October 2017

Check for Windows Updates using PowerShell

Windows 10 seems to hide the GUI option to check for updates if it found updates last time. Tell it to recheck using PowerShell:

(New-Object -ComObject Microsoft.Update.AutoUpdate).DetectNow()

Or check for Windows Updates using PowerShell:

Get-WindowsUpdate

And install a specific update:

Get-WindowsUpdate -Install -KBArticleID 'KB5018410' -AcceptAll

No comments:

Post a Comment