Closed Jetelaczek closed 2 years ago
It is not possible to have conditions in a compiled DSC configuration. You have to add such logic to a resource, or maybe a composite resource might do the trick.
This issue has been automatically marked as stale because it has not had activity from the community in the last 30 days. It will be closed if no further activity occurs within 10 days. If the issue is labelled with any of the work labels (e.g bug, enhancement, documentation, or tests) then the issue will not auto-close.
This issue has been automatically closed because it is has not had activity from the community in the last 40 days.
Good afternoon,
Could anyone help me with below issue? I would like to:
What I'd like to achieve is some kind of condition for below xUser resource which does something like - FOR all nodes; IF node is not DC - try to reset local admin pwd; ELSE do nothing...
I haven't been able to find a solution for this so far and I would appreciate any help/idea...
DSC CODE (part):
Thanks much,
Tomas