netsh firewall set portopening TCP 1433 “SQLServer”
netsh firewall set portopening TCP 1434 “SQLAdmin”
netsh firewall set portopening UDP 1434 “SQLBrowser”
netsh firewall add allowedprogram “SQL Server EXE” ENABLE profile=DOMAIN
netsh firewall set portopening TCP 1433 “SQLServer”
netsh firewall set portopening TCP 1434 “SQLAdmin”
netsh firewall set portopening UDP 1434 “SQLBrowser”
netsh firewall add allowedprogram “SQL Server EXE” ENABLE profile=DOMAIN