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

xMicrosoftUpdate: Test fails when installed but not enabled #23

Open
iainbrighton opened this issue Jun 21, 2016 · 3 comments
Open

xMicrosoftUpdate: Test fails when installed but not enabled #23

iainbrighton opened this issue Jun 21, 2016 · 3 comments
Labels
bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community.

Comments

@iainbrighton
Copy link

When Microsoft Update has been enabled, but later disabled, the Get-TargetResource method returns the incorrect state.

It currently tests is for the presence of the service registration, not whether it's actually enabled. This results in Test-TargetResource returning $true if Microsoft Update has been installed, regardless of it's state.

@TravisEz13
Copy link
Contributor

@iainbrighton Have you tried xWindowsUpdateAgent? I don't think it would have this problem. It is currently unstable, but this resource describes the state of the Windows Update Agent.

@iainbrighton
Copy link
Author

@TravisEz13 I'll need to check that. From memory, I think I changed from xWindowsUpdageAgent because that didn't work (if it wasn't enabled?)

@TravisEz13
Copy link
Contributor

@iainbrighton xWindowsUpdate is pretty new... Please file an issue if it's not working.

@kwirkykat kwirkykat added bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community. labels Aug 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
Development

No branches or pull requests

3 participants