The PowerShell module can also be used to deploy Windows updates on remote computers. If you want to automatically restart your computer after installing all the updates, you can run the following command: Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot Deploy updates on remote computers It’s pretty easy to enable it using PowerShell: Add-WUServiceManager -MicrosoftUpdate If you want to update other Microsoft products as well, you’ll need to enable the Microsoft Update Service as well. The above mentioned command will only install Windows updates. This command will install the available updates (which were listed in step 2) Install-WindowsUpdate Install WindowsUpdate