I found this article, and used it, and it seems as though my script resource node items are being properly expanded, and honestly I think it passes through being loaded up, but then when I go to start it, it fails. so let me put up some links with code and error messages for you all.
Ok, so here is my configuration. The idea is that I need some specific permissions set on a specific registry key on my sql servers. This is so I can do the SQL LowPriv monitoring. I'm just setting one key right now, premise is once this is working I can then duplicate that for the remaining keys.
https://gist.github.com/jeffpatton1971/1bfb19a06782f0975f6e
When I paste that into the prompt it appears to be perfectly happy
https://gist.github.com/jeffpatton1971/3aeb568130988a460738
In fact, the resulting MOF file looks ok to me
https://gist.github.com/jeffpatton1971/a94858f0c1e9e5612f90
When I attempt to start the configuration on my local machine, which has the key this is what I get
https://gist.github.com/jeffpatton1971/82da888bb7aac31ef4ad
lol...well so it's a different error now, I removed a credential param that I wasn't using, so now i'm left with an & that I can't seem to find anywhere... at any rate...so now my issue has become where is the bad &?I'm going back to the internets to see if there is something akin to this error, and i'm open to any questions the most pressing one is why are my scriptblocks all smooshed together? well, early on I was wondering if random whitespace and extra characters were mucking up the waters. I may actually dial down the script and see if I can add things until I get the error as well.
Jeffrey S. Patton Jeffrey S. Patton Systems Specialist, Enterprise Systems University of Kansas 1001 Sunnyside Ave. Lawrence, KS. 66045 (785) 864-0242 | http://patton-tech.com