Hot to update your computer and reboot with task scheduler PowerShell script
Create a PowerShell script and start the update everyday in the midnight. Start Windows PowerShell ISE and copy paste: [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Install-PackageProvider -Name NuGet -Force Install-Module -Name PSWindowsUpdate -Force Get-WindowsUpdate -AcceptAll -Download -Install -MicrosoftUpdate -AutoReboot > “C:\Windows-Update_History.txt” wmic qfe list full /format:htable > “C:\Windows-Update_History.html” Save this script as : windows-update.ps1 Create […]