Back to Blog
![]() ![]() In the command, replace “KB5021233” with the KB name of the update you want to install. Type the following command to download, install a specific update, reboot the system, and press Enter: Get-WindowsUpdate -Install -KBArticleID 'KB5021233' Type the following command to list the available updates along with their KB numbers with PowerShell and press Enter: Get-WindowsUpdate To download and install a specific update on Windows 10 from PowerShell, use these steps: Type the following command to download and install all the available updates and reboot the system, and press Enter: Get-WindowsUpdate -AcceptAll -Install -AutoRebootĪfter completing the steps, Windows 10 will download and install all the available updates, rebooting the computer to apply the changes automatically. You can always use the Get-Command –Module PSWindowsUpdate command to query a list of the available commands.įor example, the following steps will download, install, and then reboot the computer to complete the update process: ![]() The PSWindowsUpdate module includes many options that you can use to manage updates. Once you complete the steps, the latest cumulative updates will download and install on your computer. Type the following command to install the available Windows 10 updates and press Enter: Install-WindowsUpdate Type the following command to check for updates with PowerShell and press Enter: Get-WindowsUpdate ![]() Quick note: After installing the module, you no longer need to repeat step No. Type the following command to install the module to run Windows Update and press Enter: Install-Module PSWindowsUpdate Search for PowerShell, right-click the top result, and select the Run as administrator option. To check and install updates with PowerShell, use these steps: In this guide, you’ll learn the steps to check and install updates for Windows 10 using PowerShell. It includes the components to make it easy to check, download, and install quality updates on Windows 10. PSWindowsUpdate is a community module by Michal Gajda, available through the PowerShell Gallery. However, if you try to patch a new installation or create a custom script to automate the process, you can use commands to download and install missing patches with “PSWindowsUpdate” on PowerShell. Windows 10 updates happen automatically or manually through the Windows Update settings. ![]()
0 Comments
Read More
Leave a Reply. |