$cs.Reg\_ExistKey
Syntax
Section titled “Syntax”$cs.Reg_ExistKey(string registryroot, string regkey)
Parameters
Section titled “Parameters”registryroot
Root key (HKLM or HKEY_LOCAL_MACHINE, HKCU, HKU)
regkey
Registry keypath to check for
Example
Section titled “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