title: Powershell script to check TLS 1.2 enabled in browser
body: <p>I can have a script to check tls 1.2 enabled in registry in following locations.</p>
  <p>•   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client\DisabledByDefault is present, the value should be 0.</p>
  <p>•   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client\Enabled is present, value should be 1.</p>
  <p><a href="https://support.site24x7.com/portal/en/kb/articles/how-to-check-if-tls-1-2-is-enabled" rel="nofollow noreferrer">https://support.site24x7.com/portal/en/kb/articles/how-to-check-if-tls-1-2-is-enabled</a></p>
  <pre><code>$path = @(Get-ItemProperty HKLM:\SYSTEM\ControlSet001\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client\Enabled)  -and @(Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client\DisabledByDefault)  -ErrorAction SilentlyContinue
  if ($null -eq $path) {  # Always place $null on the LHS
    'not found' 
  }
  </code></pre>
  <p>How can i check TLS 1.2 enabled in browser (not in registry) using powershell script?</p>