title: How do you automatically distribute Desired State Configuration custom resources as part of a deployment?
body: <p>I'm working on leveraging Microsoft's DSC Resource Kit (specifically, XWebAdministration, at least for starters). I'm relatively familiar with DSC, so no worries on the script's actual functionality... it does what it's supposed to, or at least I'm pretty sure it does.</p>
  
  <p>The problem is that when I execute the script from my orchestration box, the servers I'm targeting return this error:</p>
  
  <pre><code>The PowerShell provider xWebAdministration does not exist at the PowerShell module 
  path nor is it registered as a WMI provider.
      + CategoryInfo          : InvalidOperation: (root/Microsoft/...gurationManager 
     :String) [], CimException
      + FullyQualifiedErrorId : ModuleNameNotFound
      + PSComputerName        : [redacted]
  </code></pre>
  
  <p>The reason why it's happening is obvious: I didn't install the <code>xWebAdministration</code> module on those machines. The question is: What's the proper method for automatically distributing custom resources as part of a deployment? It's onerous to manually install custom resources on dozens or hundreds of boxes, so there <em>has</em> to be a way, I just don't see any documentation on the subject anywhere.</p>