Find specify registry keys, System Center 2012

This will search for specified keys.

If the key were found then script will create a log file locally.
At the end of script the log file will be copied to log server.

If none of the keys were found - no log file was created.

Useful for classes detection in HKLM\Software\Classes\..:
Syntax of keys.list is:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\..
Note:
This is tended to work only on HKLM hive.

No comments: