$cs.Reg\_EnumKey
Syntax
Section titled “Syntax”$cs.Reg_EnumKey(string regroot, string regpath, bool mustexist)
Parameters
Section titled “Parameters”regroot
Registry root key (HKLM, HKCU, HKU)
regpath
Registry path
mustexist
True or False
Example
Section titled “Example”$regkeys=$cs.Reg_EnumKey('hklm', 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall', $true)foreach ($item in $regkeys) { $cs.Job_Writelog("Regkey found: $($item)")}returns Array