nerdexam
Microsoft

AZ-800 · Question #276

You need to add some virtual machines in the VNet and in consideration of that, you want to ensure that WinRM is running on the target VM. Which of the following commands would you run on the target…

The correct answer is D. winrm quickconfig. The command 'winrm quickconfig' performs a quick configuration of Windows Remote Management (WinRM) on a target machine. It starts the WinRM service, sets the service startup type to automatic, creates an HTTP listener on port 5985 to accept WS-Management requests, and…

Manage Windows Servers and workloads in a hybrid environment

Question

You need to add some virtual machines in the VNet and in consideration of that, you want to ensure that WinRM is running on the target VM. Which of the following commands would you run on the target VM to ensure that?

Options

  • Awinrm noconfig
  • Bwinrm VMconfig
  • Cwinrm targetVM
  • Dwinrm quickconfig

How the community answered

(51 responses)
  • A
    8% (4)
  • B
    4% (2)
  • C
    2% (1)
  • D
    86% (44)

Explanation

The command 'winrm quickconfig' performs a quick configuration of Windows Remote Management (WinRM) on a target machine. It starts the WinRM service, sets the service startup type to automatic, creates an HTTP listener on port 5985 to accept WS-Management requests, and configures Windows Firewall exceptions to allow WinRM traffic. This is the standard, supported command for enabling WinRM with minimal steps. The other options - 'winrm noconfig', 'winrm VMconfig', and 'winrm targetVM' - are not valid WinRM commands and would produce errors.

Topics

#WinRM#Remote Management#Windows Server

Community Discussion

No community discussion yet for this question.

Full AZ-800 Practice