Following the examples on the web, it's not hard to set up a working example for the first DSC script.
However, I need to find a way to just list the changes that the script will make, not actually "make it so".
The challange that I have is that the script I want to test contains some Release Management specific variables that is populated during the release process. Like this:
# Copy website bits to configured deployment path
File CopyDeploymentBits
{
Ensure = "Present"
Type = "Directory"
Recurse = $true
SourcePath = $applicationPath
DestinationPath = $($Node.DeploymentPath)
}
Is it possible to execute the script through the normal release path and just execute the "Test" part and get a log of what is OK/Not OK and not apply any changes?
Thanks!