Scenario: You are trying to access or download from a URL within PowerShell and you receive this error message:
The request was aborted: Could not create SSL/TLS secure Channel
Solution: Use TLS1.2 in your PowerShell to initiate the download.
#verifies that TLS1.2 is available within your PowerShell
[Enum]::GetNames([Net.SecurityProtocolType]) -contains 'Tls12'
#If True, Checks to see if TLS1.2 is in use with PS
[System.Net.ServicePointManager]::SecurityProtocol.HasFlag([Net.SecurityProtocolType]::Tls12)
#If False Run the following to enable the use of TLS1.2
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
#Check again for True
[System.Net.ServicePointManager]::SecurityProtocol.HasFlag([Net.SecurityProtocolType]::Tls12)
#Then attempt to initate the install
iex (New-Object Net.WebClient).DownloadString("https://gist.github.com/darkoperator/6152630/raw/c67de4f7cd780ba367cccbc2593f38d18ce6df89/instposhsshdev")