hkey_current_config\test\sidebyside\winners\amd64_.netframework_31bf3856ad364e35_none_f5dd4e94975c8e4e
valu e ="amd . NeTF RameWoR k 3 1bF 3856ad 364e n oN ef 5d d 4e94975C8e4e"F uNCTIoNResoLve?W INNeRs( Value)
{
$base = "Hkcu:\test\sidebyside\winners\"
$t = dir ( $base + $value )$t.GetType()
<#
IsPublic isserial Name BaseType
——– ——– —- ——–
True False RegistryKey System.MarshalByRefObject
>
$t.Name
<#
hkey_current_user\test\sidebyside\winners\amd64_.netframework_31bf3856ad364e35_none_f5dd4e94975c8e4e\6.3
>
$t.Property
<#
6.3.9600.16384
(default)
>
$t.GetValue("6.3.9600.16384")$t.GetValue("")$t2 = Get-Item ( $base + $value )$t2.GetType()<#
IsPublic isserial Name BaseType
——– ——– —- ——–
True False RegistryKey System.MarshalByRefObject
#>
$t2.Name$t2.Property$t2.GetValue("")$t2.SetValue("","6")$t.GetValue("6.3.9600.16384")$t.SetValue("6.3.9600.16384", 2, "binary" )$key = ( $base + $value )Get-RegistryValue $key "(default)"Set-ItemProperty $key "(default)" "6.4"$t2.Name$t.Name$t.PSChildNameSet-ItemProperty $key "(default)" $t.PSChildName
}
Read and write the registry with PowerShell