Skip to content

Instantly share code, notes, and snippets.

@stefanteixeira
Created August 25, 2015 20:03
Show Gist options
  • Save stefanteixeira/f617500d7210617e85e4 to your computer and use it in GitHub Desktop.
Save stefanteixeira/f617500d7210617e85e4 to your computer and use it in GitHub Desktop.
PowerShell sample script to configure a Windows firewall rule
New-NetFirewallRule -DisplayName "MSSQL" -Direction Inbound -LocalPort 1433 -Protocol TCP -Action Allow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment