Update windows

Insert into Powershell Admin module:

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted -Force

Get-Command -Module WindowsUpdateProvider

Install-Module -Name PSWindowsUpdate -Force

Get-Package -Name PSWindowsUpdate

Get-WindowsUpdate -MicrosoftUpdate -Verbose

Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Restricted

 

Press Enter Await restart | When Prompted type "A" to reply -Yes to All- to Automate the Update Process ????

Article Details

Article ID:
1
Category:
Date added:
2021-06-26 11:36:12
Rating :

Related articles