Microsoft Endpoint Administrator — Question 92

You have a workgroup computer named Client1 that runs Windows 11 and connects to a public network.

You need to enable PowerShell remoting on Client1. The solution must ensure that PowerShell remoting connections are accepted from the local subnet only.

Which PowerShell command should you run?

Answer options

Correct answer: B

Explanation

The correct answer is B because the Enable-PSRemoting –SkipNetworkProfileCheck command allows remoting even on public networks while restricting access to the local subnet. Option A does not enable remoting for public networks, while options C and D do not specifically address the restriction to the local subnet.