Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SecurityPolicy Not being recognized in my powershell #189

Open
Ephraim67 opened this issue Jan 6, 2024 · 4 comments
Open

SecurityPolicy Not being recognized in my powershell #189

Ephraim67 opened this issue Jan 6, 2024 · 4 comments
Labels
needs more information The issue needs more information from the author or the community.

Comments

@Ephraim67
Copy link

Ephraim67 commented Jan 6, 2024

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

@johlju
Copy link
Member

johlju commented Jan 7, 2024

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

@johlju johlju added the needs more information The issue needs more information from the author or the community. label Jan 7, 2024
@Ephraim67
Copy link
Author

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

@johlju
Copy link
Member

johlju commented Jan 10, 2024

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
Copy link
Member

johlju commented Jan 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more information The issue needs more information from the author or the community.
Projects
None yet
Development

No branches or pull requests

2 participants