-
Notifications
You must be signed in to change notification settings - Fork 7
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
Cannot compile DSC Configuration from NodePS #1
Comments
My first guesses would be a network issue to connect to the target, or a credential issue. I will try it tomorrow. and give you an update. |
Well, the target is the server itself and it already runs as admin.I'm not even calling start-dscconfiguration yet, it just stops when trying to compile the .mof...but if I hit CTRL-C it goes ahead, writes the file and stops the NodePS instance. |
Ok, just tried it. Your script works for me. It does generate a mof file, so I cannot really help you, are you using a domain account to run NodePS ? does it have enough rights on both systems? |
Ok it seems to only work if I login as Administrator. |
I made it run as a domain user member of local admin group. Have you tried this configuration? |
I tried running it as local admin on a Windows 10 Workstation joined to a 2013 domain, here is a gif of what happens. it's really weird, as every other .ps1 script that I throw at it work, even remote invoke-commands! |
I was thinking of using NodePS as a web front end for a DSC Configuration writer/distributor.
Unfortunately when I try to compile a simple DSC Configuration it stops right before creating the .mof until I hit ctrl-c, then it completes but stops the NodePS server instance. But if I start the instance and connect to the powershell session via VS2015 debugger then it works just fine.
This is the .ps1 that I am using
The text was updated successfully, but these errors were encountered: