So the title says it all really. I wan’t to write a custom resource and within it use cmdlets that are not going to be available on the target machine by default.
I am not really sure how I can get DSC to install this resource on the target box before running the resources. I have tried wrapping it up in the same way as my custom dsc resources and making them available on the pull server, then adding a:
Import-DscResource -ModuleName “CmdletModule”
Just under where I import my custom dsc resources. This does not seem to pull these resources on to the target box. Anyone got any ideas?