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 Page History

Version 1 Current »

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

  • No labels