I've run in to this type of issue. I wanted resource A to do work and then resource B to do more work based on the output of A. I ended up taking a module from the gallery and augmenting it to discover the right information on the endpoint node rather than taking a parameter.
Note, the File resource would not be the best candidate for customization, but I do hope to work on xRobocopy as soon as I can make time. 🙂
The topic ‘Delayed variable expansion of DSC resource’ is closed to new replies.