Soru

Zorluk: OrtaMicrosoft Command-Line Tools

A system administrator needs to remotely restart an unresponsive remote Windows workstation named FINANCE-PC02 after 120 seconds and display a message to any logged-in user explaining the reboot reason. Which of the following commands should the administrator execute from an elevated Command Prompt to accomplish this task?

  1. shutdown /r /m \\FINANCE-PC02 /t 120 /c "Scheduled maintenance reboot"Cevap
  2. B
    shutdown /s /m \\FINANCE-PC02 /t 120 /c "Scheduled maintenance reboot"
  3. C
    reboot /m \\FINANCE-PC02 /t 120 /msg "Scheduled maintenance reboot"
  4. D
    systeminfo /restart \\FINANCE-PC02 /timer:120

Cevap

The command 'shutdown /r /m \\FINANCE-PC02 /t 120 /c "Scheduled maintenance reboot"' correctly initiates a remote restart with a 120-second timer and user notification.
The shutdown command with the /r switch specifies a system restart. The /m flag directs the command to a target remote computer on the network (\\FINANCE-PC02), while /t 120 sets a countdown timer of 120 seconds before initiating the reboot, and /c attaches a comment string presented to active users.

Adım Adım Çözüm

1
Identify the primary Windows command line tool for system power and restart control.
The Windows native CLI utility is 'shutdown.exe'.
Windows uses shutdown for local and remote computer reboots and shutdowns.
2
Select the correct switch parameters for remote execution, restart action, delay, and message.
/r specifies restart, /m targets a remote workstation, /t defines the delay in seconds, and /c adds the user message.
Combining shutdown /r /m \\FINANCE-PC02 /t 120 /c provides the exact desired functionality.

Anahtar Kavram

Windows Shutdown Command Line Options
Tahmini Süre:1m 0s
Bu soruyu puanla