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

MSFT_AccountPolicy in Modul SecurityPolicyDsc #9

Open
KSJakobsen opened this issue Nov 30, 2020 · 1 comment
Open

MSFT_AccountPolicy in Modul SecurityPolicyDsc #9

KSJakobsen opened this issue Nov 30, 2020 · 1 comment

Comments

@KSJakobsen
Copy link

Hi,

First of all.. Awesome Script :)

But i ran into a little issue using the Script in our Environment. I compiled the .ps1 an everything worked fine but when i wanted to implement the MOF-File i got the following Error.

InvalidOperation: The Powershell DSC-Ressource "MSFT_AccountPolicy" of the Module <SecurityPolicyDsc,2.10.0.0> is not in the Powershell-Modulpath nor registered as a WMI DSC-Ressource.

I just translated this from german so i hope it tranlates correct.

The original error is as follows:

InvalidOperation: Die PowerShell DSC-Ressource "MSFT_AccountPolicy" des Moduls <SecurityPolicyDsc,2.10.0.0> ist weder im Powershell-Modulpfad vorhanden noch als WMI DSC-Ressource registriert.

Thanks
Kai - Stephan Jakobsen

@ramnikd
Copy link

ramnikd commented Mar 29, 2022

Hi, i am getting the same error. Can i please ask how you resolved it?
thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants