Enable-SSL.ps1

function Enable-SSL
{
  <#
    .SYNOPSIS
    Short Description
    .DESCRIPTION
    Detailed Description
    .EXAMPLE
    Enable-SSL
    explains how to use the command
    can be multiple lines
    .EXAMPLE
    Enable-SSL
    another example
    can have as many examples as you like
  #>

  $AllProtocols = [Net.SecurityProtocolType]'Ssl3,Tls,Tls11,Tls12'
  [Net.ServicePointManager]::SecurityProtocol = $AllProtocols
}