Microsoft Endpoint Administrator — Question 116
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?
Answer options
- A. From Windows PowerShell, run the Enable-MMAgent cmdlet.
- B. From the local Group Policy, enable the Allow Remote Shell Access setting.
- C. From Windows PowerShell, run the Enable-PSRemoting cmdlet.
- D. From the local Group Policy, enable the Turn on Script Execution setting.
Correct answer: C
Explanation
The correct answer is C, as running the Enable-PSRemoting cmdlet configures the computers to accept remote PowerShell commands, which is essential for the script execution. Options A and B do not address the requirement for remote command execution, and option D pertains to script execution permissions rather than enabling remote access.