Hi. Thank you for your question and reaching out.
Use these methods to check for and install updates using PowerShell:
- Launch Windows 11 Start.
- Right-click the first result from your search for PowerShell and choose "Run as administrator."
- To install the module to launch Windows Update, use the command shown below and press Enter.
Install-Module PSWindowsUpdate - To confirm, enter the letter A.
- To check for updates using PowerShell, type the following command and hit Enter:
Get-WindowsUpdate - To install the available Windows 10 updates, enter the command after typing it:
Install-WindowsUpdate - To confirm, enter the letter A.
The most recent cumulative updates will download and install on your computer once you've finished the procedures.
REFERENCE: https://pureinfotech.com/install-windows-10-update-powershell/
----------------------------------------------------------------------------------------------------------------------------
If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.