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 the default installation of 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 the default installation of 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 6

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

13 − ten =


Hose

Hose

You need to manage Server2 remotely from Server1.
so we need to turn on RDP on Server2 (winrm cmd)
answer B.

Hose

Hose

my mistake, answer D:
You can use WinRS to administer a Server Core installation that belongs to a workgroup. Before you can do this, however, you must add the name of your computer to the TrustedHosts table of WinRM on your Server Core installation. For example, to enable a computer running Windows Vista named SEA-DESK155 to execute commands remotely on your Server Core installation using WinRM, type the following on your Server Core computer:
winrm set winrm/config/client @{TrustedHosts=”Server2″}

Mohammed

Mohammed

There’s no thing to do with this question, bc winrm is enabled by default. The only two things you have to do with adding a standalone to server manager are:
1) server 2 credentials and
2) adding server 2 to the WS-Management TrustedHosts.

shunt

shunt

D

I Hate this question. It took me way too long to verify the answer is 100% D. By default you can fully manage Server2 via Server Manager and Powershell. Just add Server2 to the /trustedhosts on server1 to send powershell commands.In fact, Server2 listeners and firewall are ready to accept Server Manager and PowerShell commands with a default 2012 R2 install. The only option is to manage Server2. And the only option to do this given the choices is using winrm. To prove this can be done, open a cmd prompt and type winrm /?

OUTPUT:
C:\>winrm /?
Windows Remote Management Command Line Tool

Windows Remote Management (WinRM) is the Microsoft implementation of
the WS-Management protocol which provides a secure way to communicate
with local and remote computers using web services.

Usage:
winrm OPERATION RESOURCE_URI [-SWITCH:VALUE [-SWITCH:VALUE] …]
[@{KEY=VALUE[;KEY=VALUE]…}]

For help on a specific operation:
winrm g[et] -? Retrieving management information.
winrm s[et] -? Modifying management information.
winrm c[reate] -? Creating new instances of management resources.
winrm d[elete] -? Remove an instance of a management resource.
winrm e[numerate] -? List all instances of a management resource.
winrm i[nvoke] -? Executes a method on a management resource.
winrm id[entify] -? Determines if a WS-Management implementation is
running on the remote machine.
winrm quickconfig -? Configures this machine to accept WS-Management
requests from other machines.
winrm configSDDL -? Modify an existing security descriptor for a URI.
winrm helpmsg -? Displays error message for the error code.

For help on related topics:
winrm help uris How to construct resource URIs.
winrm help aliases Abbreviations for URIs.
winrm help config Configuring WinRM client and service settings.
winrm help certmapping Configuring client certificate access.
winrm help remoting How to access remote machines.
winrm help auth Providing credentials for remote access.
winrm help input Providing input to create, set, and invoke.
winrm help switches Other switches such as formatting, options, etc.
winrm help proxy Providing proxy information.

MrCensus

MrCensus

i GO for D as well.
Using WinRS
Reason:
You can use WinRS to administer a Server Core installation remotely from the command line. WinRS is a command-line tool included in both Windows Vista and the Full installation of Windows Server 2008, which relies on Windows Remote Management (WinRM) to execute remote commands, especially for headless servers. WinRM is Microsoft’s implementation of the WS-Management protocol, a standard Simple Object Access Protocol (SOAP)-based, firewall-friendly protocol that enables hardware and operating systems from different vendors to interoperate. You can think of WinRM as the server side and WinRS the client side of WS-Management.