I'm not really sure what you are trying to do but I think your answer lies
somewhere along the following lines:
I would try to leverage Compare-Object.
Try writing a function which takes a machine name list of keys and returns
the values and subvalues. Let's call that function GET-KEYS. You could
then do something like:
$keys = (whatever)
Compare-Object (Get-Keys Machine1 $keys) (Get-Keys Machine2 $keys)
Jeffrey Snover [MSFT]
Windows PowerShell/Aspen Architect
This posting is provided "AS IS" with no warranties, no confers rights.
Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scr.../hubs/msh.mspx