Hi I am still learning powershell and was wondering if you guys can share a clever way of scheduling WSUS auoptions to modify the reg key, prompting an Admin user with Read-Host to set registry AU options + set the Target group of Servers also. NB: I already know the Group policy way
AUOptions
Range = 2|3|4|5
2 = Notify before download.
3 = Automatically download and notify of installation.
4 = Automatic download and scheduled installation. (Only valid if values exist for ScheduledInstallDay and ScheduledInstallTime.)
5 = Automatic Updates is required, but end users can configure it.
*********************************************************
So I want a powershell script that can
A. Prompt the user to enter the Value for WSUS schedule weekend to be changed from
2 = Notify before download to 4 = Automatic download and scheduled installation