Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this sections, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
Your network contains an Active Directory domain named contoso.com. The domain contains a computer named Computer1 that runs Windows10.
The network uses the 172.16.0.0/16 address space.
Computer1 has an application named App1.exe that is located in D:\Apps\. App1.exe is configured to accept connections on TCP port 8080.
You need to ensure that App1.exe can accept connections only when Computer1 is connected to the corporate network.
Solution: You run the New-NetFirewallRule -DisplayName "Rule1" -Direction Inbound
-LocalPort 8080 -Protocol TCP -Action Allow -Profile Domain command.
Does this meet the goal?
c3r3br4l
4 years, 5 months agoAmeer_Hamza
4 years, 6 months agoThedude30
4 years, 6 months agoSamsOtro
4 years, 6 months agojam7272
4 years, 7 months agoMatt71
4 years, 5 months agoYebubbleman
4 years, 5 months agojam7272
4 years, 7 months agoKidCastaldo
4 years, 8 months ago