Do the following steps to configure TLS 1.2 on your client.
Run PowerShell as administrator.
To set TLS 1.2 for the current PowerShell session, type:
$TLS12Protocol = [System.Net.SecurityProtocolType] 'Ssl3 , Tls12'
[System.Net.ServicePointManager]::SecurityProtocol = $TLS12Protocol