$cs.Reg_EnumKey

Syntax

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

 

Parameters

regroot

Registry root key (HKLM, HKCU, HKU)

regpath

Registry path

mustexist

True or False

 

Example

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

returns Array