Skip to content

Instantly share code, notes, and snippets.

@peplau
Created January 21, 2021 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peplau/0f1913082500b05d936cd31f46379038 to your computer and use it in GitHub Desktop.
Save peplau/0f1913082500b05d936cd31f46379038 to your computer and use it in GitHub Desktop.
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
Register-PSRepository -Default -Verbose
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment