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

Possible to add support for 'Comment' field? #18

Open
cwegener opened this issue May 28, 2019 · 2 comments
Open

Possible to add support for 'Comment' field? #18

cwegener opened this issue May 28, 2019 · 2 comments

Comments

@cwegener
Copy link

I have just started using the PolicyFileEditor module for my DSC work and it
does exactly what I need.

One feature that I would like to see is the ability to write into the 'Comment'
area of each Administrative Setting. That way, I can leave some notes in a
gpresult /H output file if anybody ever were to look at the Windows machine
that was configured via DSC + PolicyFileEditor.

Is this possible to implement at all?

If so, how complex would this be to implement?

@dlwyatt
Copy link
Owner

dlwyatt commented Mar 13, 2021

Hmm, don't think those fields existed back when I wrote this. Not sure if those comments live in the same registry.pol file where the actual data is, or not.

Looks like Microsoft retired the technet gallery though, which is where I had published the C# code behind the dll that's in this project. I'll have to look around and see if I can find it again, before that sort of update could be made.

@dlwyatt
Copy link
Owner

dlwyatt commented Mar 13, 2021

Yup, that code may be lost forever :\ It's something I did back before I even knew what Git was, and since it was already publicly available on the MS script gallery, I never thought to publish it here as well.

It's not too hard to just decompile the DLL and reproduce the functionality (either in another C# class, or just in raw PowerShell), since it's .NET code, if someone wants to do that at some point.

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

No branches or pull requests

2 participants