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…
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)- A8% (4)
- B4% (2)
- C2% (1)
- D86% (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
Community Discussion
No community discussion yet for this question.