I’m looking for help scripting with PowerShell, Windows Server 2008 R2 so Windows Updates is set to “Never check for updates.” I found some near answers but I still can’t do what I want. Currently, I have to set it by clicking Windows Update > Change Settings > Never Check for Updates. Thanks in advance.
I’m looking for help scripting with PowerShell, Windows Server 2008 R2 so Windows Updates
Share
You can use a COM object for that :
With :
You can test :
(Edited)
You must use a PowerShell session run as administrator in an elevated mode.