Your network contains an Active Directory domain named contoso.com. The domain contains a
server named Server1. The domain contains a standalone server named Server2 that is located in a
perimeter network. Both servers run Windows Server 2012 R2.
You need to manage Server2 remotely from Server1.
What should you do?

A.
From Server1, run the Enable-PsRemotingcmdlet.
B.
From Server2, run the winrm command.
C.
From Server2/ run the Enable-PsRemotingcmdlet.
D.
From Server1, run the winrm command.
I believe answer should be B.
From Server2, run the winrm command.
0
0
https://blogs.technet.microsoft.com/askperf/2010/09/24/an-introduction-to-winrm-basics/
This command performs configuration actions to enable this machine for remote management, which includes:
Starts the WinRM service
Set the WinRM service type to auto start
Create a listener to accept requests on any IP address
Enable firewall exception for WS-Management traffic (for http only)
I also believe it should be B since its a service running on the target server.
0
0
You can add server2 to trusted host list in server1 by using winrm command -> winrm set winrm/config/client @{TrustedHosts=”RemoteComputerName”}
0
0
Correct answer
0
0
Kuba is right as in 2k12, remote management are enabled by default so no need for “winrm qc” or “Enable-PSRemoting”
0
0