techgenious
asked on
PowerShell Port Opening SQL
I'm looking for a powershell script that will open up various SQL ports.
Examples:
TCP 1433 "SQLServer"
TCP 1434 "SQL Admin Connection"
TCP 4022 "SQL Service Broker"
TCP 135 "SQL Debugger/RPC"
TCP 2383 "Analysis Services"
TCP 2382 "SQL Browser"
UDP 1434 "SQL Browser"
Can someone give me a script that opens these ports up via powershell. I know how to do it via batch file:
netsh firewall set portopening UDP 1434 "SQL Browser"
netsh firewall set portopening TCP 80 "HTTP"
thanks
Examples:
TCP 1433 "SQLServer"
TCP 1434 "SQL Admin Connection"
TCP 4022 "SQL Service Broker"
TCP 135 "SQL Debugger/RPC"
TCP 2383 "Analysis Services"
TCP 2382 "SQL Browser"
UDP 1434 "SQL Browser"
Can someone give me a script that opens these ports up via powershell. I know how to do it via batch file:
netsh firewall set portopening UDP 1434 "SQL Browser"
netsh firewall set portopening TCP 80 "HTTP"
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.