I am just learning powershell of course, but I need to find a way to query 2 registry entries in the same key "HKLM\SYSTEM\CurrentcontrolSet\control\Session Manager\Environment" and then output that to an excel spreadsheet listing the workstations name with 2 columns, value #1 and value #2.
I've looked hi and lo to no avail.
And I am just stumped. Any help with this would be great.
Thanks