PrepAway - Latest Free Exam Questions & Answers

Which command should you run from Server1?

Your network contains an Active Directory domain named contoso.com.
The domain contains two member servers named Server1 and Server2 that run Windows Server 2012.
You log on to Server1.
You need to retrieve the IP configurations of Server2. Which command should you run from Server1?

PrepAway - Latest Free Exam Questions & Answers

A.
dsquery * -scope base -attr ip,server2

B.
winrs -r:server2 ipconfig

C.
winrm get server2

D.
ipconfig > server2.ip

Explanation:
http://technet.microsoft.com/en-us/library/dd163506.aspx
Using WinRS
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 theWS-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 ofWinRM as the server side and WinRS the client sideof WS-Management.
[…]
Using WinRS to Administer Server Core in a Domain
The basic syntax for WinRS commands is as follows:
winrs -r:target command
where target is the name (NetBIOS or FQDN) of the Server Core installation that has had WinRM enabled on it,
and command is any command string that you want to execute on the Server Core installation. For example, to
use WinRS to enable Remote Desktop remotely on a Server Core installation named SEA-SC2, type the
following command on any computer running Windows Vista or on a Full installation of Windows Server 2008:
winrs -r:SEA-SC2 cscript %WINDIR%\system32\scregedit.wsf /ar 0

18 Comments on “Which command should you run from Server1?

  1. dieselsilvester says:

    Correct Answer: B

    Your network contains an Active Directory domain named contoso.com. The domain contains Server 2012 R2 and has the Hyper-V server role installed.
    You need to log the amount of system resources used by each virtual machine.
    What should you do?

    Options
    A. From Windows PowerShell, run the Enable-VMResourceMeteringcmdlet.
    B. From Windows System Resource Manager, enable Accounting.
    C. From Windows System Resource Manager, add a resource allocation policy.
    D. From Windows PowerShell, run the Measure-VM cmdlet.

    Correct Answer: A

    For More Detail: http://www.dumps4download.com/70-417-dumps.html




    0



    0

Leave a Reply