C:\> import-module SecurityPolicyDsc
import-module : The specified module 'SecurityPolicyDsc' was not loaded because no valid module file was found in any module directory.
The only difference I can see between ComputerManagementDsc and SecurityPolicyDsc is that the former has a .psm1 and the latter doesn't. What do I need to do to get this module (and others like it) working?
I have installed this module and the ComputerManagementDsc module on my development machine. Both are listed in the same directory.
However, when I run Get-DscResource, not resources from SecurityPolicyDsc are returned.
Nor is the module listed when I run Get-Module:
And trying to import the module throws an error
The only difference I can see between ComputerManagementDsc and SecurityPolicyDsc is that the former has a .psm1 and the latter doesn't. What do I need to do to get this module (and others like it) working?