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.
The problem is that when I execute the script from my orchestration box, the servers I'm targeting return this error:
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]
The reason why it's happening is obvious: I didn't install the xWebAdministration
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 has to be a way, I just don't see any documentation on the subject anywhere.