How to show updates on Windows 11 from PowerShell

Configurare noua (How To)

Situatie

To show a Windows update with PowerShell commands, use these steps.

Solutie

Pasi de urmat

Open Start. Search for PowerShell, right-click the top result, and select the Run as administrator option.

Type the following command to install the update module and press Enter (if applicable):

Install-Module PSWindowsUpdate

Type “A” to accept and install the module and press Enter.Type the following command to check for Windows 11 updates with PowerShell and press Enter:

Get-WindowsUpdate

Type the following command to select and allow the update with PowerShell and press Enter:

Show-WindowsUpdate -KBArticleID KBNUMBER

  • In the command, replace KBNUMBER with the update number you want to unhide. This example blocks the KB5009469 update:

Show-WindowsUpdate -KBArticleID KB5009469

Type “A” to accept and install the module and press Enter.

  • (Optional) Type the following command to select and allow the update when the KB number is not available and press Enter:

Show-WindowsUpdate -Title “UPDATE-TITLE”

  • In the command, replace UPDATE-TITLE with the update number you want to install. You only need part of the title to make a match. This example blocks the “2021-05 Cumulative Update” package:

Show-WindowsUpdate -Title “2022-01 Cumulative Update”

  • Type “A” to accept and install the module and press Enter.
  • After you complete the steps, the update will become available again on Windows 11.

Tip solutie

Permanent

Voteaza

(5 din 15 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?