Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9128

How to export a registry key to a CSV?

$
0
0

I'm currently looking to find out all SolidWorks license information on the network.

I need help writing a script for PowerShell to look at a list of hosts that are on a CSV/TXT file then execute the following command saving the result in a CSV format having the computer name, SolidWorks license registry entry.

enter image description here

This is the command I'm using:

Invoke-Command -ComputerName NAME -Command {Get-ItemProperty -Path HKLM:\SOFTWARE\SolidWorks\Licenses}

By default. SolidWorks stores their license information in the following registry path

COMPUTERNAME\HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\Licenses\Serial Numbers\Solidworks

Viewing all articles
Browse latest Browse all 9128

Trending Articles