How to install Windows Update via Powershell

There is a popular opinion that Windows management means working with GUI. Using a mouse is mandatory. It was true a long time ago but now you can do anything in Windows if you use Powershell.

Let’s take a look at Windows Update installation via Powershell.

1. Install PSWindowsUpdate module (one-time operation):

Install-Module PSwindowsupdate -Force -SkipPublisherCheck

2. Afterward it needs to import this module and launch Windows Update. In this case, all available updates will be installed and the server will be rebooted:

Import-Module PSWindowsUpdate
Install-WindowsUpdate -AcceptAll -AutoReboot

๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡
๐Ÿ’ฌDiscuss or ask a question in the Telegram๐Ÿ’ฌ

๐Ÿ“•ะงะธั‚ะฐั‚ัŒ ัั‚ัƒ ะถะต ัั‚ะฐั‚ัŒัŽ ะฝะฐ ั€ัƒััะบะพะผ ๐Ÿ‘‰ https://dzen.ru/media/samsitblog/kak-ustanovit-obnovleniia-windows-cherez-powershell-bez-ispolzovaniia-grafiki-64e22299031b7e5c96b23f77


Posted

in

,

by