项目作者: mehmetseckin

项目描述 :
This is a very simple module that sets the service protocol used by the ServicePointManager class.
高级语言: PowerShell
项目地址: git://github.com/mehmetseckin/security-protocol-setter-powershell.git
创建时间: 2018-12-11T12:46:08Z
项目社区:https://github.com/mehmetseckin/security-protocol-setter-powershell

开源协议:MIT License

下载


SecurityProtocolSetter icon

SecurityProtocolSetter

Build Status
Azure DevOps Tests
Azure DevOps Coverage
Azure DevOps Release - PowerShell Gallery
SecurityProtocolSetter PSGallery version
SecurityProtocolSetter PSGallery downloads

This is a very simple module that sets the service protocol used by the ServicePointManager class.

Motivation

It’s hard to remember the exact line of code to set the security protocol, this module simply provides a shortcut.

Installation

  1. Install-Module SecurityProtocolSetter

Usage

  1. Import-Module SecurityProtocolSetter
  2. # Set security protocol to TLS 1.1
  3. Set-SecurityProtocol Tls11
  4. # Set security protocol to TLS 1.2
  5. Set-SecurityProtocol Tls12
  6. # Use the alias
  7. setsp Tls12
  8. # More details...
  9. Get-Help Set-SecurityProtocol -Detailed