I need to scan all the computers in my Active Directory and export all the values under a specific registry key
The key to query is HKLM\Software\Myapp\Settings\
The %computername% must be echo'd in the beginning and the end so I can know what computer those value came from.
sample output should be something like:
-----computer1--------
reg stuff
reg stuff
----computer1------
-----computer2--------
reg stuff
reg stuff
----computer2------
Windows batch preferred