dsccommunity / SecurityPolicyDsc

A wrapper around secedit.exe to configure local security policies
MIT License
177 stars 53 forks source link

SecurityPolicy Not being recognized in my powershell #189

Open Ephraim67 opened 8 months ago

Ephraim67 commented 8 months ago

I installed SecurityPolicyDsc so I can use SecurityPolicy Module and it's installed but not working

johlju commented 8 months ago

Not sure SecurityPolicyDsc can help with SecurityPolicy module. What error do you get when using the DSC resources in the module SecurityPolicyDsc?

Ephraim67 commented 8 months ago

Undefined DSC resource 'SecurityPolicy'. Use Import-DSCResource to import the resource That was the error I was getting.

johlju commented 8 months ago

Ah, you said SecurityPolicy module in the issue description, but you meant the SecurityPolicy resource.

Are you using Windows PowerShell 5.1?

How does the configuration look like that you're trying to compile?

johlju commented 8 months ago

Actually, there are no SecurityPolicy resource in the SecurityPolicyDsc module? 🤔 Not sure what you are trying to do honestly 😊