PowerShell / DSC

This repo is for the DSC v3 project
MIT License
135 stars 22 forks source link

Add metadata so adapter resource knows if input is configuration or for a resource #348

Closed SteveL-MSFT closed 4 months ago

SteveL-MSFT commented 4 months ago

PR Summary

As noted in the issue, adding metadata to the config indicating the input is a configuration, but only if the target resource is an adapter. Also fix it so that export input will also execute any expressions. Update powershell and wmi adapter resources to use this new metadata property.

PR Context

Fix https://github.com/PowerShell/DSC/issues/253