Which command should you run?

You have two computers named Computer1 and Computer2 that run Windows 7. Computer2 is
configured for remote management.
From Computer1, you need to remotely execute a third-party command line tool named disk.exe on
Computer2.
Which command should you run?

You have two computers named Computer1 and Computer2 that run Windows 7. Computer2 is
configured for remote management.
From Computer1, you need to remotely execute a third-party command line tool named disk.exe on
Computer2.
Which command should you run?

A.
Start disk.exe /d \\computer2

B.
Tscon disk.exe /DEST:computer2

C.
Winrm e disk.exe Cr:computer2

D.
Winrs r:computer2 disk.exe

Explanation:
Winrs
You can use WinRS to execute command-line utilities or scripts on a remote computer. To use
WinRS, open a command prompt and prefix the command that you want to run on the remote
computer with the WinRS –r: RemoteComputerName command. For example, to execute the
Ipconfig command on a computer named Aberdeen, issue the command: WinRS –r:Aberdeen
ipconfig.
The Windows Remote Management service allows you to execute commands on a remote
computer, either from the command prompt using WinRS or from Windows PowerShell. Before you
can use WinRS or Windows PowerShell for remote management tasks, it is necessary to configure
the target computer using the WinRM command. To configure the target computer, you must run
the command WinRM quickconfig from an elevated command prompt.



Leave a Reply 0

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