Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Syntax

$cs.Reg_EnumKey(string regroot, string regpath, bool mustexist)

Parameters

regroot

Registry root key (HKLM, HKCU, HKU)

...

Registry path

mustexist

True or False

Example

Code Block
languagepowershell
$regkeys=$cs.Reg_EnumKey('hklm', 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall', $true)
foreach ($item in $regkeys) {
  $cs.Job_Writelog("Regkey found: $($item)")
}

...