PSWindowsUpdate
PSWindowsUpdate copied to clipboard
Cannot remove UseWUServer with Set-WUSettings
Hi!
I'm able to enable WU server use, but cannot understand how to clear it back.
Set-WUSettings -UseWUServer
Confirm
Are you sure you want to perform this action?
Performing the operation "(12/03/2024 19:21:48) Set Windows Update settings" on target "XXXXXXX".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
ComputerName UseWUServer
------------ -----------
XXXXXXX True
Set-WUSettings -UseWUServer False
Set-WUSettings: A positional parameter cannot be found that accepts argument 'False'.
Set-WUSettings -UseWUServer 0
Set-WUSettings: A positional parameter cannot be found that accepts argument '0'.
Set-WUSettings -UseWUServer ''
Set-WUSettings: A positional parameter cannot be found that accepts argument ''.
Could you please advise how to use this script? Thanks!