Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Current »

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

  • No labels