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 from Computer1. What should you do on the finance department computers?
- From the local Group Policy, enable the Allow Remote Shell Access setting.
- From the local Group Policy, enable the Turn on Script Execution setting.
- From the Windows PowerShell, run the Enable-MMAgentcmdlet.
- From the Windows PowerShell, run the Enable-PSRemotingcmdlet.
Answer(s): D
Reference:
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-6
Reveal Solution Next Question