I’ve used the examples in DSC Wave 6 (http://blogs.msdn.com/b/powershell/archive/2014/08/20/dsc-resource-kit-wave-6-is-here.aspx) and trying to create a custom DSC-Resource. Here I have one fundamental question about the 3 default functions (get/set/test-targetresource)
In the get-targetresource, I’m reading out all the current values of the system. Can I then in the Test-targetresource not just call “get-targetresource” and I’m getting back the hashtable with all the current values? I’ve never seen this before in any example. Everyone is reading out the values again in “test-targetresource”, WHY??