This is a bit of a “non-standard” situation. Specifically, I’m using DSC to configure the Windows 10 desktops in our Call Center and Warehouse Offices. So the “shoot it and build another” solution I would use on a server doesn’t apply here.
The specific problem is that I included the “xPendingReboot” resource in the initial configuration. This worked well to solve a package installation problem I had during initial setup. However, it’s causing problems for some users due to inconvenient reboots. OK so take it out of the config, recreate the mof, new checksum, let DSC do it’s thing. So far so good.
BUT…
When I run a “get-dscconfiguration” against my testing node, the xPendingReboot is still there! There is no Ensure property that I can find, so I can’t use “Ensure = Absent”…
So I’m kind of at a loss as to what to do to correct this problem… Suggestions?
Thanks in advance!