xWindowsUpdate icon indicating copy to clipboard operation
xWindowsUpdate copied to clipboard

xMicrosoftUpdate: Test fails when installed but not enabled

Open iainbrighton opened this issue 9 years ago • 3 comments

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.

iainbrighton avatar Jun 21 '16 11:06 iainbrighton

@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.

TravisEz13 avatar Jul 02 '16 07:07 TravisEz13

@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?)

iainbrighton avatar Jul 13 '16 19:07 iainbrighton

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

TravisEz13 avatar Jul 14 '16 21:07 TravisEz13