$Protocols = @("SSL 2.0", "SSL 3.0", "TLS 1.0", "TLS 1.1")$EndPoints = @("Client", "Server")Write-Verbose "停用 SSL 2.0 & 3.0 以及 TLS 1.0 & 1.1"$Protocols | ForEach{ $Protocol = $_ If(!(Test-Path -Path "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\Schannel\Protocols\$Protocol")){ New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\Schannel\Protocols\$Protocol" | Out-Null } $EndPoints | ForEach{ $EndPoint...