chasewilson / SchemaExtensionDsc

Intakes .LDF files and allows DSC to extend the Active Directory Schema using the LDIFDE tool
MIT License
1 stars 1 forks source link

Be able to change the placeholder `{_UNIT_DN_}` from the configuration #6

Open paule96 opened 4 years ago

paule96 commented 4 years ago

In the file LdfSchemaExtension.psm1 is the line start-process -FilePath ldifde.exe -ArgumentList "-i -f $SchemaPath -s $env:COMPUTERNAME -c"{_UNITDN}" $DistinguishedName -v -k " -Wait -NoNewWindow

This lines limit this DSC resource to be used in many cases, because the placeholder can be different.

For example the skype for business has in there .ldf files the placeholder DC=X That would be nice as a parameter.

I will provide an PR for this in the next days.