Returns information about the computer registry.

This script was tested using Kixtart 2001 (412) for Microsoft Windows, available from Kixtart.org.

Kixtart
Edit|Remove
$strComputer = "."
$objWMIService = GetObject("winmgmts:\\"+ $strComputer + "\root\cimv2")
$colItems = $objWMIService.ExecQuery("Select * from Win32_Registry")
For Each $objItem in $colItems
    ? "Caption:" + $objItem.Caption
    ? "Current Size:" + $objItem.CurrentSize
    ? "Description:" + $objItem.Description
    ? "Install Date:" + $objItem.InstallDate
    ? "Maximum Size:" + $objItem.MaximumSize
    ? "Name:" + $objItem.Name
    ? "Proposed Size:" + $objItem.ProposedSize
    ? "Status:" + $objItem.Status
Next