Remote Registry into Objects

$computers = 'PC1'
foreach($computer in $computers)
{
$curreg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine', $computer)
$curkey="Software\PCBuild"
$curregKey = $curreg.OpenSubKey($curkey)
foreach ($key in $curregKey)
{
$key.GetValueNames()
}
}

Hello, there are several items I need from this key ( Model, OS, and a few specific to my company that we right to the registry).  I've read a lot over the last few days but I can't seem to figure out how to capture several items and put them into an object.  Below is the Name and Data that I need.



If possible, I'd like to be able to do $key.ComputerDate will display 3.22.2018

Parents Reply Children
No Data