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?
Asked
Active
Viewed 77 times
0
-
Not sure about this based on current info, i may need to confirm the details about drift test. – JennyDai May 25 '22 at 08:59
1 Answers
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