DSC and scheduled maintenance windows

Hey guys,

What’s the best way to handle maintenance windows when DSC is in use.

Here’s an example:
Let’s say I have a number of IIS machines and my DSC configs dictate that the IIS service should be always running.

In our case our patchday/maintenance workflow requires us to disable various services on our servers prior to installing windows updates and they will only be enabled and started again when all updates have been installed successfully.

Thanks in advance.

There’s nothing really built in to do what you’re after. However, it’d be a great feature. Let me get back to you Monday.

Alright, thanks Don :slight_smile:

Go to https://connect.microsoft.com/PowerShell/feedbackdetail/view/1871366/add-psvalidfrom-psvalidto-common-properties-for-dsc-resources and vote :wink:

Alright, that’s a good basis for discussion. :slight_smile:

If I understood the suggestion correctly it would stop the respective services every day if one only specified a start and stop time without a date, which is undesirable in my opinion.

One would have to update the configuration with a date and start/stop time and regenerate the checksum prior to one’s patch day and repeat those two steps for each patch day. Is that right?