---
updatedAt: 2025-08-14T13:35:51.000Z
agentTools:
  siteIndex: https://developer.n-able.com/llms.txt
  projectIndex: https://developer.n-able.com/n-central/llms.txt
---

# Check for TLS 1.2

```powershell PowerShell
$protocols = [enum]::GetNames([System.Net.SecurityProtocolType])
    if($protocols -match "Tls12")
    {
        Write-Host "TLS 1.2 available on this system"
        $statusTLS12 = 0	
    }   
	else {
	Write-Host "TLS 1.2 not available on this system" 
	$statusTLS12 = 1
}
```

```json Response Example
{"success":true}
```

# SCRIPT