Hi,
You can get the value name and data of specified registry entries using the Get-ItemPropertyValue cmdlet .
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-itemproperty
To get the registry values from the link you provided you can try this.
#Schannel
$schannel_client = "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client"
$schannel_server = "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server"
Get-ItemProperty -Path $schannel_client -Name "DisabledByDefault"
Get-ItemProperty -Path $schannel_client -Name "Enabled"
Get-ItemProperty -Path $schannel_server -Name "DisabledByDefault"
Get-ItemProperty -Path $schannel_server -Name "Enabled"
#.NET 3.5
$dotnet35_64 = "HKLM:\SOFTWARE\Microsoft\.NETFramework\v2.0.50727"
$dotnet35_32 = "HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v2.0.50727"
Get-ItemProperty -Path $dotnet35_64 -Name "SystemDefaultTlsVersions"
Get-ItemProperty -Path $dotnet35_32 -Name "SystemDefaultTlsVersions"
#.NET 4.x
$dotnet4x_64 = "HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319"
$dotnet4x_32 = "HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319"
Get-ItemProperty -Path $dotnet4x_64 -Name "SystemDefaultTlsVersions"
Get-ItemProperty -Path $dotnet4x_32 -Name "SystemDefaultTlsVersions"
Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.