xPSDesiredStateConfiguration icon indicating copy to clipboard operation
xPSDesiredStateConfiguration copied to clipboard

xRegistry: Option to request a reboot after Set-TargetResource has run

Open bozho opened this issue 8 years ago • 2 comments

Some registry changes require a reboot. It would be useful if xRegistry could request a reboot if Set-TargetResource runs.

Ideally, instead of setting $global:DSCMachineStatus, it could set one of the flags examined by the xPendingReboot resource (or maybe support both options)

I don't mind implementing this, but would like to discuss preferred approach.

bozho avatar Jun 28 '17 16:06 bozho

@bozho Could you propose a updated schema.mof for this change? This proposal would reboot the server every time the Set-TargetResource is run (when configuration was set in desired state)? Could you provide an example of a real time scenario where this would be used?

johlju avatar May 15 '18 10:05 johlju

I'm gonna take a look at this - we've got some requests from our customer to add this feature.

@devopsjesus

devopsjesus avatar May 15 '19 01:05 devopsjesus