Add Test-DSCConfigurationDataDeployment function and related enhancements

This commit is contained in:
Torsten Brendgen
2026-07-03 12:34:48 +02:00
parent fb9209456b
commit c93f4ebc5c
7 changed files with 242 additions and 7 deletions

View File

@@ -91,11 +91,7 @@ function New-DSCConfigurationDataDeployment {
})
$SourceFiles = @($MergeResult.Files | ForEach-Object {
if($UseRelativePaths){
ConvertTo-ConfigurationDataRelativePath -Path $_ -BasePath $OutputDirectory
}else{
$_
}
Get-ConfigurationDataSourceFileInfo -Path $_ -BasePath $OutputDirectory -UseRelativePath:$UseRelativePaths
})
$ConfigurationData["Metadata"] = [ordered]@{