Setting up Web Sites needs IISReset to work.


I am building a DSC script to set up a Web server with nine web sites.
I have got it to the point where it will run all the way through without errors if I run it twice and do an IISRESET after the first one.

Has anyone else encountered this behavior and if so, how did you “fix” it.

OldDog trying to learn new tricks.

Hi Michael,

Please attach your complete Configuration script as a.txt but replace any company or confidential details with example details.


OK, here it is. Bare in mind it’s a work in progress