0

I'm using the xWebAdministration module to create IIS sites and application pools. When creating the site, a physical path needs to be specified. This path is changed with each deployment of the site resulting in DSC reporting drift. Is there a way of excluding certain properties from the drift test?

Confounder
  • 469
  • 1
  • 8
  • 23

1 Answers1

0

It turns out PhysicalPath under the xWebSite resource is optional and doesn't need to be specified, therefore not included in the drift test. What this means is that another script can update the website path in IIS and DSC will not report drift, which is what I want.

Confounder
  • 469
  • 1
  • 8
  • 23