Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot remove UseWUServer with Set-WUSettings #16

Open
ThePlenkov opened this issue Mar 12, 2024 · 0 comments
Open

Cannot remove UseWUServer with Set-WUSettings #16

ThePlenkov opened this issue Mar 12, 2024 · 0 comments

Comments

@ThePlenkov
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant