Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

Query 2 registry entries for a workstations by OU and output to an excel file

$
0
0

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


Viewing all articles
Browse latest Browse all 8583

Trending Articles