Returns information about the computer registry.

This script was tested using Object REXX 2.1.0 for Microsoft Windows, available from IBM.

Object REXX
Edit|Remove
strComputer = "."
objWMIService = .OLEObject~GetObject("winmgmts:\\"||strComputer||"\root\CIMV2")
do objItem over objWMIService~ExecQuery("Select * from Win32_Registry")
    say "Caption:" objItem~Caption
    say "Current Size:" objItem~CurrentSize
    say "Description:" objItem~Description
    say "Install Date:" objItem~InstallDate
    say "Maximum Size:" objItem~MaximumSize
    say "Name:" objItem~Name
    say "Proposed Size:" objItem~ProposedSize
    say "Status:" objItem~Status
end