ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 241 - MD-102 discussion

Report
Export

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?

A.

Set-NetFirewallRule -Name 'WINRM-HTTP-In-TCP-PUBLIC' -RemoteAddress Any

Answers
A.

Set-NetFirewallRule -Name 'WINRM-HTTP-In-TCP-PUBLIC' -RemoteAddress Any

B.

Set-PSSessionConfiguration -AccessMode Local

Answers
B.

Set-PSSessionConfiguration -AccessMode Local

C.

Enable-PSRemoting -Force

Answers
C.

Enable-PSRemoting -Force

D.

Enable-PSRemoting -SkipNetworkProfileCheck

Answers
D.

Enable-PSRemoting -SkipNetworkProfileCheck

Suggested answer: D
asked 05/10/2024
- Paulo Fonseca
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first