I have two entities for the sake of argument lets call them entity a and entity b, there can be a 1:M relationship between the two. What I want to do is to create a powershell dsc resource that links the two together, so that I can perform:
MyResource link
{
EntityA = "entity a"
EntityB = "entity b"
Ensure = "Present"
}
Two questions:
- Is it possible for the [DscProperty(Key)] to be a composite of two values ?
- Is there a more elegant solution to this problem via DSC