You need to manage Server2 remotely from Server1

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?

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.



Leave a Reply to JamesL Cancel reply8

Your email address will not be published. Required fields are marked *

eight − seven =


Lafegob

Lafegob

the correct isn’t the C? someone could explain please?

Thanks.

Ben

Ben

I believe answer should be B.

From Server2, run the winrm command.

georgep83

georgep83

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.

Kuba

Kuba

You can add server2 to trusted host list in server1 by using winrm command -> winrm set winrm/config/client @{TrustedHosts=”RemoteComputerName”}

Not-Jim

Not-Jim

Correct answer

Saquib

Saquib

Kuba is right as in 2k12, remote management are enabled by default so no need for “winrm qc” or “Enable-PSRemoting”

Saquib

Saquib

@Lafegob, see the previous question.

JamesL

JamesL

@Lafegob

IMO Answer D appears correct if the statement regarding server 2 being standalone means it is not a member of the domain

Explanation:

In many cases, you will be able to work with remote computers in other domains. However, if the remote computer is not in a trusted domain or is in a workgroup, the remote computer might not be able to authenticate your credentials. To enable authentication, you need to add the remote computer to the list of trusted hosts for the local computer in WinRM. To do so, type:
winrm s winrm/config/client ‘@{TrustedHosts=”RemoteComputer”}’