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 a list of the active TCP connections on Server2.
Which command should you run from Server1?
A.
winrm get server2
B.
dsquery * -scope base -attrip,server2
C.
winrs -r:server2netstat
D.
netstat> server2
I believe the answer to this is D. Type netstat in your CMD and it shows TCP connections
http://technet.microsoft.com/en-us/library/cc736437(v=ws.10).aspx
That’s only going to work on the machine you are on. Not a remote machine.
Correct Answer: C
Explanation:
This command line tool enables administrators to remotely execute most Cmd.exe commands using the WS-Management protocol.
Reference:
http://msdn.microsoft.com/en-us/library/aa384291(v=vs.85).aspx
Answer is C. I’ve run this command and it works.
winrs -r:target command (http://msdn.microsoft.com/en-us/library/dd163506.aspx)
Answer is C.