$cs.Reg_ExistKey
Syntax
$cs.Reg_ExistKey(string registryroot, string regkey)
Â
Parameters
registryroot
Root key (HKLM or HKEY_LOCAL_MACHINE, HKCU, HKU)
regkey
Registry keypath to check for
Â
Example
if ($cs.Reg_ExistKey("HKU","Software\Adobe\Acrobat Reader\DC\AVGeneral"))
{
$cs.Reg_SetDword("HKU","Software\Adobe\Acrobat Reader\DC\AVGeneral","bisFirstLaunch",0)
}
returns value as boolean
Â