Skip to content

Instantly share code, notes, and snippets.

View Kentrg11's full-sized avatar

Kent Rozenberg Kentrg11

  • Mindbody
  • Kirkland
View GitHub Profile
@Kentrg11
Kentrg11 / DisableSslv3.ps1
Created June 6, 2016 19:51 — forked from markthiessen/DisableSslv3.ps1
PowerShell script for disabling SSLv3 - Refactored
# MS Security bulletin: https://technet.microsoft.com/en-us/library/security/3009008.aspx
# Azure post where this script originally came from: http://azure.microsoft.com/blog/2014/10/19/how-to-disable-ssl-3-0-in-azure-websites-roles-and-virtual-machines/
#
#
# NOTE: This registry change requires that the server be restarted. The script
# will detect if a change is applied and AUTOMATICALLY reboot the server.
# If you don't want automatic reboot comment out the final section of the
# script before running!
Function Ensure-RegKeyExists {