$cs.Reg\_CreateKey
Syntax
Section titled “Syntax”$cs.Reg_CreateKey(string regroot, string regpath)
Parameters
Section titled “Parameters”registryroot
Root key (HKLM or HKEY_LOCAL_MACHINE, HKCU, HKU)
regpath
Registry keypath
Example
Section titled “Example”$cs.Reg_CreateKey('HKLM','SOFTWARE\7-Zip')returns nothing