Skip to main content

registrykey.property

Description

Windows registry key property

Init

registrykey.property(path string) registrykey.property(name string)

Fields

IDTYPEDESCRIPTION
pathstringRegistry key path
namestringRegistry key name
existsboolWhether the property exists
valuestringDeprecated; use data instead
typestringRegistry key type
datadictRegistry key data

Examples

Verify a registry key property

registrykey.property(path: 'HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\EventLog\System', name: 'MaxSize') {
value >= 32768
}