dsccommunity / ActiveDirectoryDsc

This module contains DSC resources for deployment and configuration of Active Directory Domain Services.
MIT License
344 stars 142 forks source link

"Read" attribute on resources. Needs some examples #662

Closed SergeDubovsky closed 3 years ago

SergeDubovsky commented 3 years ago

Namely, the ADGroup resource. As I understand, this: DistinguishedName | Read | String | Returns the distinguished name of the Active Directory group

Is supposed to return the DN of created group. I have no idea how to read the output from DSC resources, if that even possible. Or, how to use this output in the parameter of other resource, such as ADManagedServiceAccount ManagedPasswordPrincipals, for example.

Thank you.

johlju commented 3 years ago

The read-only parameters cannot be used as an input to other resources in a compiled configuration. You can get read-only properties by calling Get-DscConfiguration, or Invoke-DscResource using the method Get.

stale[bot] commented 3 years ago

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.

stale[bot] commented 3 years ago

This issue has been automatically closed because it is has not had activity from the community in the last 40 days.