exam questions

Exam MD-100 All Questions

View all questions & answers for the MD-100 exam

Exam MD-100 topic 5 question 121 discussion

Actual exam question from Microsoft's MD-100
Question #: 121
Topic #: 5
[All MD-100 Questions]

Your network contains an Active Directory domain. The domain contains a computer named Computer1 that runs Windows 11.

You need to enable the Windows Remote Management (WinRM) service on Computer1 and perform the following configurations:

• For the WinRM service, set Startup type to Automatic.
• Create a listener that accepts requests from any IP address.
• Enable a firewall exception for WS-Management communications.

Which PowerShell cmdlet should you use?

  • A. Invoke-WSManAction
  • B. Enable-PSSessionConfiguration
  • C. Enable-PSRemoting
  • D. Connect-WSMan
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Drazan
1 year, 11 months ago
Selected Answer: C
The Enable-PSRemoting cmdlet is used to enable PowerShell remoting on a Windows computer. PowerShell remoting allows you to run PowerShell commands and scripts on a remote computer, providing a way to manage and administer remote systems from a central location. When you run the Enable-PSRemoting cmdlet, it performs the following actions: Starts the WinRM (Windows Remote Management) service if it is not already running. Configures the WinRM service to start automatically at system startup. Sets the appropriate firewall rules to allow incoming PowerShell remoting connections. Configures the computer to trust remote hosts by adding them to the TrustedHosts list. Enabling PowerShell remoting using Enable-PSRemoting is a prerequisite for various remote management and administration tasks, such as running commands on remote computers, executing scripts remotely, and managing remote Windows PowerShell sessions.
upvoted 1 times
...
e635466
2 years, 1 month ago
Selected Answer: C
Answer is correct
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...