MD-102 Exam QuestionsBrowse all questions from this exam

MD-102 Exam - Question 167


Your network contains an on-premises Active Directory domain. The domain contains two computers named Computer1 and Computer2 that run Windows 10.

You install Windows Admin Center on Computer1.

You need to manage Computer2 from Computer1 by using Windows Admin Center.

What should you do on Computer2?

Show Answer
Correct Answer: B

To manage Computer2 from Computer1 using Windows Admin Center, you need to enable Windows Remote Management (WinRM) and configure it to allow remote connections. By running the Enable-PSRemoting cmdlet, you start the WinRM service, create a listener to accept requests, enable a firewall exception for WinRM, and ensure all necessary configurations are made. This cmdlet simplifies the process by performing all required steps automatically, making it the most comprehensive and effective option to prepare Computer2 for remote management using Windows Admin Center.

Discussion

17 comments
Sign in to comment
VirtualJPOption: C
Oct 17, 2023

Windows Admin Center uses WinRM for remote management, so allowing WinRM through the firewall is a crucial step in enabling this functionality

MerrybobOption: B
Feb 1, 2024

Going against the grain and selecting "B. Run the Enable-PSRemoting cmdlet" as my answer. According to the MS site, you need to allow WinRM port 5589 only for Workgroup machines that are on the same subnet. The question here states these machines are domain-joined. Ref: https://learn.microsoft.com/en-us/windows-server/manage/windows-admin-center/support/troubleshooting#are-you-connecting-to-a-workgroup-machine-on-a-different-subnet Also, the Enable-PSRemoting cmdlet performs a series of functions including; starting the WinRM service, creating a listener to accept requests on any IP address, enabling a firewall exception, and restarting the WinRM service after all changes are made. Ref: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-7.4#:~:text=The%20Enable%2DPSRemoting%20cmdlet%20performs,make%20the%20preceding%20changes%20effective. Good luck to all!

madsaOption: B
Dec 1, 2023

Run the Enable-PSRemoting cmdlet.

fiskaba
Dec 19, 2023

I would go with B too, as that command enables remote management AND also allows WinRM through the firewall.

chandravamsiOption: C
Nov 12, 2023

Option : C

nosmanavOption: B
Dec 28, 2023

As far as I know WAC uses PowerShell connection to manage remote servers. Even if I am mistaken Just open the a FW port could not be enough. The service must also be enabled and set to start automatically. All these step are done with the command Enable-PSRemoting

yosryOption: C
Dec 31, 2023

IS CORRECT

mp34Option: B
Jan 23, 2024

C will work, as long as the service is started and set to Automatic..... But running Enable-Psremoting starts the service and adds the Firewall exception....

MR_EliotOption: B
Mar 9, 2024

I will go with B. Only allowing WinRM port is not enough. You will also need to change the service to automatic. Enable-PSRemoting does both at them.

DarkfireOption: B
Mar 14, 2024

While C and D are also correct, there just a single setting. I'll go for B based on the command sets multiple settings: https://learn.microsoft.com/en-us/windows-server/manage/windows-admin-center/support/known-issues#:~:text=Windows%2010%20doesn%27t,enable%20PSRemoting. https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-7.4 But the real question is..... Which is the official answer @ the exam?! =D

OyYaGottaOption: B
Mar 24, 2024

PSRRemote will open a firewall port and run WinRM. If you do just any other the others it won't connect and enable powershell scripts to be pushed to the machine.

nap61Option: B
May 21, 2024

Enable-PSRemoting enables WinRM services and rule in firewall.

Amir1909Option: C
Jan 10, 2024

C is correct

NoursBearOption: B
Feb 1, 2024

Make sure you have WinRM & PowerShell remoting enabled, these are disabled by default in Windows 10 and to enable them you type "Enable-PSRemoting" in the PowerShell console with admin privileges. You also need to allow TCP connections from outside of your subnet. Type "Set-NetFirewallRule -Name WINRM-HTTP-In-TCP -RemoteAddress Any" from the same PowerShell console with admin privileges.

NoursBear
Feb 1, 2024

https://serverfault.com/questions/1013979/can-windows-admin-center-connect-to-a-remote-server

PasadoOption: A
Feb 4, 2024

ChatGPT answer is A

da_terminator
Jun 14, 2024

well, its wrong

mail2bala3011Option: B
Mar 23, 2024

Option B does all required setting

ejonesy80Option: C
Apr 16, 2024

To manage Computer2 from Computer1 using Windows Admin Center, you need to ensure that the necessary prerequisites are met. The correct answer is: C. Allow Windows Remote Management (WinRM) through the Microsoft Defender firewall. Explanation: Windows Admin Center relies on WinRM (Windows Remote Management) for communication with remote computers. By default, WinRM is not enabled on Windows 10 computers, and the firewall may block WinRM traffic. Therefore, you need to allow WinRM through the firewall on Computer2 to enable remote management via Windows Admin Center from Computer1.

ejonesy80
May 7, 2024

My apologies, After further investigation, i change my anser to: B. Run the Enable-PSRemoting cmdlet. This cmdlet does it all. While WinRM through firewall only, if it's Enabled on device, which isn't the case by Default. Hope one day Microsoft/Pearson VUE will add the function to see which answers were wrong, so we can learn from it.

PrasisOption: B
Jul 13, 2024

Chatgpt: To manage Computer2 from Computer1 using Windows Admin Center, you need to ensure that Windows Remote Management (WinRM) is enabled and allowed through the firewall on Computer2. This is necessary for Windows Admin Center to connect and manage the remote machine. Therefore, the correct steps to take on Computer2 are: **B. Run the Enable-PSRemoting cmdlet.** This cmdlet configures the computer to receive PowerShell remote commands that are sent using the WS-Management technology. **C. Allow Windows Remote Management (WinRM) through the Microsoft Defender firewall.** This step ensures that the necessary firewall ports are open to allow WinRM communication. You should perform both actions to fully configure Computer2 for remote management via Windows Admin Center.