Here, we are discussing on the topic “How to install Windows 10 update using PowerShell” and providing recommended commands required to complete the installation. The updates happen on Windows 10 automatically and the available updates can easily be seen “Windows Update” sections under “Settings” App on Windows 10 devices.
You can install the latest Windows 10 update manually. If you are trying to patch a new installation or you want to create a custom script to automate the process using “Command Line” to install the missing patch with “PowerShell”
“PowerShell” is powerful command line scripting language integrated into .NET framework. It automates batch processing and creates System management tools and can be embedded within other applications. “PowerShell” has more than 130 command line tools for functions that enable the administrators to run tasks on local and Remote Windows Systems via access to COM (Competent Object Model) and WMI (Windows Management Instrumentation).
To install Windows update or Windows 10 update, you will need PowerShell module means package of cmdlets, providers, functions, workflows, variables, and aliases commands. You can download and install module online from PowerShell Gallery. To install Windows 10 update using PowerShell.
[Tips & Tricks] How to install Windows 10 update using PowerShell?
Use following Command in PowerShell:
- Install-Module PSWindowsUpdate
- Get-Command –module PSWindowsUpdate
- Add-WUServiceManager -ServiceID 7971f918-a847-4430-9279-4a52d1efe18d
- Get-WUInstall –MicrosoftUpdate –AcceptAll –AutoReboot
Step 1: Click on “Start” or “Windows” button and type “PowerShell”
Step 2: Right click on “PowerShell” appear in list and select “Run as Administrator”
Step 3: In the opened “PowerShell” window, type the following command one-by-one and press “Enter” key to execute it
Step 4: Now, run the following command in command line to check for recent updates
Step 5: After that, type the commands below to check for Widows installer service is enabled or not.
“Add-WUServiceManager -ServiceID 7971f918-a847-4430-9279-4a52d1efe18d
Get-WUInstall –MicrosoftUpdate –AcceptAll –AutoReboot”
I hope this article helped you to install Windows 10 update using PowerShell. If you have any suggestions or queries, please write on comment box given below.
You may also read: How To Fix Windows 10 Update Error 0x8024a105 [Solved]