- Powershell v3에서는
방화벽
설정을
위한
새로운 cmdlet가
추가되었다. 그것은
바로 New-NetFirewallRule이다
-
다음은
외부에서
내
로컬
컴퓨터의 Web Server에
접속할
수
있도록
방화벽을
열어주는
것이다.
New-NetFirewallRule
-DisplayName
“Allow Port 80”
-Direction
Inbound -LocalPort
80 -Protocol
TCP -Action
Allow
New-NetFirewallRule
-DisplayName
“Allow Port 80”
-Direction
Inbound -LocalPort
80 -Protocol
TCP -Action
Allow