ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 268 - MD-102 discussion

Report
Export

Your network contains an Active Directory domain. The domain contains 10 computers that run Windows 10. Users in the finance department use the computers.

You have a computer named Computer1 that runs Windows 10.

From Computer1, you plan to run a script that executes Windows PowerShell commands on the finance department computers.

You need to ensure that you can run the PowerShell commands on the finance department computers from Computer.

What should you do on the finance department computers?

A.

From Windows PowerShell, run the Enable-MMAgent cmdlet.

Answers
A.

From Windows PowerShell, run the Enable-MMAgent cmdlet.

B.

From the local Group Policy, enable the Allow Remote Shell Access setting.

Answers
B.

From the local Group Policy, enable the Allow Remote Shell Access setting.

C.

From Windows PowerShell, run the Enable-PSRemoting cmdlet.

Answers
C.

From Windows PowerShell, run the Enable-PSRemoting cmdlet.

D.

From the local Group Policy, enable the Turn on Script Execution setting.

Answers
D.

From the local Group Policy, enable the Turn on Script Execution setting.

Suggested answer: C

Explanation:

Enable-PSRemoting is specifically designed to enable remote PowerShell access. This cmdlet configures the necessary settings on the target computers to allow remote PowerShell connections. The other options are not directly related to enabling remote PowerShell: Enable-MMAgent is used for managing mobile devices. The 'Allow Remote Shell Access' group policy setting is primarily for enabling remote access for command prompt (cmd.exe), not PowerShell. The 'Turn on Script Execution' group policy setting controls whether scripts can run locally on a computer, but it doesn't enable remote PowerShell access. By running Enable-PSRemoting on the finance department computers, you'll ensure that they are ready to receive and execute PowerShell commands from Computer1.

asked 05/10/2024
Jennifer Okai Addey
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first