I was often using Reg2CI to convert .reg files into Config-Items (System Center Configuration Manager)... But in many cases, I only needed the PowerShell Code to check or set some Registry Keys...
So I started a new "child" Project of Reg2CI :
Registry to PowerShell converter
..an online tool to convert your Reg-Keys into PowerShell:
Just paste the registry keys in the TextBox "Registry", and you can convert it into a script to detect if all values are set (click on "Get check Script") or you can have a script to set all values (click on "Get remediation Script").
Use it with care and report all issues on https://github.com/rzander/Reg2CI