In an on-premises AD domain with 10 Windows 10 computers used by finance, you will run a script from Computer1 that executes PowerShell commands remotely on the finance computers. What must you enable on the finance department computers to allow remote PowerShell commands to run from Computer1?
Choose an answer
Tap an option to check your answer.
Correct answer: From Windows PowerShell, run the Enable-PSRemoting cmdlet..
Why this is the answer
To execute PowerShell commands remotely on other computers, you must enable PowerShell Remoting on the target machines. The Enable-PSRemoting cmdlet configures the necessary firewall rules and WSMAN service settings to allow remote PowerShell connections. Without this, remote commands will fail. Incorrect options: Enable-MMAgent is used for managing the Microsoft Monitoring Agent, not for enabling remote PowerShell. "Allow Remote Shell Access" is not a standard Group Policy setting for enabling PowerShell Remoting. PowerShell Remoting is enabled via specific GPO settings related to WinRM, but not with this exact name. "Turn on Script Execution" refers to the PowerShell execution policy, which determines whether scripts can run locally on a machine. It does not enable remote command execution.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed