I have a set of "Registry Hive Files (.)" that am attempting to import via PowerShell. The goal is to have the script run across many machines in the environment and not have to manually do it via RegEdit on each machine.
Is there a way to import hive files via PowerShell?
Trying "regedit.exe hivefile" does not work. These hive files are going in HKLM.
reg import yourfile.reg
orregedit /s yourfile.reg
.