I'm trying to apply a DSC configuration that uses a resource from a module that is installed. However, when I run Start-DscConfiguration
, I get this error:
The PowerShell DSC resource ******** does not exist at the PowerShell module path nor is it registered as a WMI DSC resource.
+ CategoryInfo : InvalidOperation: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : DscResourceNotFound
However, when I log into the server and run Get-DscResource
, the missing resource is there.
Why can't DSC find the resource?