MD-102 · Question #330
MD-102 Question #330: Real Exam Question with Answer & Explanation
The correct answer is A: On Computer2, run the Enable-PSRemoting cmdlet.. "PowerShell remoting is enabled by default on Windows Server platforms. You can use Enable- PSRemoting to enable PowerShell remoting on other supported versions of Windows and to re- enable remoting if it becomes disabled." https://docs.microsoft.com/en-us/powershell/module/micro
Question
Your network contains an Active Directory domain named contoso.com. The domain contains two computers named Computer1 and Computer2 that run Windows 10. On Computer1, you need to run the Invoke-Command cmdlet to execute several PowerShell commands on Computer2. What should you do first?
Options
- AOn Computer2, run the Enable-PSRemoting cmdlet.
- BOn Computer2, add Computer1 to the Remote Management Users group.
- CFrom Active Directory, configure the Trusted for Delegation setting for the computer account of
- DOn Computer1, run the New-PSSession cmdlet.
Explanation
"PowerShell remoting is enabled by default on Windows Server platforms. You can use Enable- PSRemoting to enable PowerShell remoting on other supported versions of Windows and to re- enable remoting if it becomes disabled." https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable- psremoting?view=powershell-6
Topics
Community Discussion
No community discussion yet for this question.