It depends on your setup. I wouldn't use to install your DSC Resources. If you are using the PULL model, then you would have to zip your DSC Resource Modules in a specific way and place them on the DSC Pull Server 'C:\Program Files\WindowsPowerShell\DscService\Modules'. When a client pulls its configuration, it will automatically download any DSC resource modules it requires to execute the .mof. Check out this URL for details: https://msdn.microsoft.com/en-us/powershell/dsc/pullserver
If you are using a PUSH model, then I would recommend you to ensure that the necessary DSC resources are already in place prior to executing your Configuration. That is what I did.
If the 2nd step is failing check that the 1st step has installed the DSC resources correctly by running get-dscresource on that node. If this does not return "xWebAdministration" then part one has failed.
The topic ‘How do I compile DSC to MOF if required module is not yet available’ is closed to new replies.