MD-102 · Question #433
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…
The correct answer is B. Enable-PSRemoting -SkipNetworkProfileCheck. The -SkipNetworkProfileCheck parameter allows you to enable PowerShell remoting even if the computer is connected to a public network. However, by default, PowerShell remoting connections will only be accepted from the local subnet.
Question
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?
Options
- ASet-PSSessionConfiguration -AccessMode Local
- BEnable-PSRemoting -SkipNetworkProfileCheck
- CEnable-PSRemoting -Force
- DSet-NetFirewallRule -Name "WINRM-HTTP-In-TCP-PUBLIC" -RemoteAddress Any
How the community answered
(32 responses)- A6% (2)
- B72% (23)
- C19% (6)
- D3% (1)
Explanation
The -SkipNetworkProfileCheck parameter allows you to enable PowerShell remoting even if the computer is connected to a public network. However, by default, PowerShell remoting connections will only be accepted from the local subnet.
Topics
Community Discussion
No community discussion yet for this question.