Dave Wyatt

Results 67 comments of Dave Wyatt

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...

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...

Wow. You posted two days ago, while I was out of town. It's not like you're paying for support here; have patience.

That spreadsheet is handy; I've never seen it before. Normally I just look in the template files found under C:\Windows\PolicyDefinitions. The text that you'll see in the GUI can be...

In this example, I'd have a hard time guessing whether that was supposed to be a String or MultiString value, so I'd probably just set the policy through the GUI...

Group Policy automatically refreshes on a schedule, but you can force it faster with the methods you mentioned. > On Jan 23, 2019, at 8:20 AM, Donal wrote: > >...

It doesn’t have any native support for that, but you could use it with PowerShell Remoting. > On Apr 23, 2019, at 8:57 AM, AmolVyawahare wrote: > > Hi, >...

Beats me. Maybe by reverse engineering the group policy CSE that controls that setting. Remember, the policy file editor is really just meant for setting things that are found under...

@Phil-Factor I think you're looking for section 10.2.2 (Tag Resolution) of https://yaml.org/spec/1.2/spec.html . It states that those automatic conversions to number / bool / etc only happen for "plain scalars"...

Assuming you agree with the spec comment I made, the fix seems pretty straightforward: https://github.com/Phil-Factor/PSYaml/blob/master/PSYaml/Private/ConvertFrom-YAMLDocument.ps1#L67 should become ```if (! $tag && $Style -eq 'Plain')```