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?
A . On Computer2, run the Enable-PSRemoting cmdlet
B . From Active Directory, configure the Trusted for Delegation setting for the computer account of Computer2
C . On Computer1, run the New-PSSession cmdlet
D . On Computer2, add Computer1 to the Remote Management Users group
Answer: A
Explanation:
Reference: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-6