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 | ||
---|---|---|
| ||
$regkeys=$cs.Reg_EnumKey('hklm', 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall', $true) foreach ($item in $regkeys) { $cs.Job_Writelog("Regkey found: $($item)") } |
...