Question: What is the function of the following PowerShell script? New - NetFirewallRule - Protocol TCP - LocalPort 2 2 - Direction Inbound - Action Allow
What is the function of the following PowerShell script?
NewNetFirewallRule Protocol TCP LocalPort Direction Inbound Action Allow DisplayName SSH
Options:
Create a Windows firewall rule that blocks SSH traffic.
Create a Windows firewall rule that allows TCP port traffic sent into the host.
Create a Windows firewall rule that allows SSH traffic sent out to external hosts.
Create a Windows firewall rule that blocks TCP port
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
