My windows updates seems to be stuck since last month due to a bug in updates from MS.. They gave a fix as mentioned below.
Completely new to powershell and scripts associated.
I have to fix using this script -
But not sure as to which policies to be allowed on local PC neither commands, took some help from internet but script seems running since last 30 minutes. (check attachment)
Attached script file as well in .txt
Can someone how to run proper commands and from where (CMD or powershellscript GUI)
Also the commands need to enable policies and disable them when work is done.
3 .Best way to run the script.
First run this to check current settings Get-ExecutionPolicy -List
Set-ExecutionPolicy Restricted [- default execution policy for Windows client computers](’