Creating Registry DWORD entry with PowerShell
22. April 2015
PowerShell Version: >2
Modules: none
New-ItemProperty "hklm:\SOFTWARE\Microsoft\..." -Name "testkey" -Value 1 -PropertyType "DWord"
-Name is the RegKey Name
-Value is the Value in hexadecimal
-PropertyType defines that we want a DWORD