Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam MD-102 Topic 4 Question 27 Discussion

Actual exam question for Microsoft's MD-102 exam
Question #: 27
Topic #: 4
[All MD-102 Questions]

Your network contains an Active Directory domain. The domain contains 10 computers that run Windows 10. Users in the finance department use the computers.

You have a computer named Computer1 that runs Windows 10.

From Computer1, you plan to run a script that executes Windows PowerShell commands on the finance department computers.

You need to ensure that you can run the PowerShell commands on the finance department computers from Computer.

What should you do on the finance department computers?

Show Suggested Answer Hide Answer
Suggested Answer: C

Enable-PSRemoting is specifically designed to enable remote PowerShell access. This cmdlet configures the necessary settings on the target computers to allow remote PowerShell connections. The other options are not directly related to enabling remote PowerShell: Enable-MMAgent is used for managing mobile devices. The 'Allow Remote Shell Access' group policy setting is primarily for enabling remote access for command prompt (cmd.exe), not PowerShell. The 'Turn on Script Execution' group policy setting controls whether scripts can run locally on a computer, but it doesn't enable remote PowerShell access. By running Enable-PSRemoting on the finance department computers, you'll ensure that they are ready to receive and execute PowerShell commands from Computer1.


Contribute your Thoughts:

Margurite
4 months ago
Ah, the joys of PowerShell and Group Policy. Let's hope the finance department computers don't end up in a complete meltdown after this!
upvoted 0 times
...
Lawrence
4 months ago
A) From Windows PowerShell, run the Enable-MMAgent cmdlet. Wait, what does the MMAgent even do? I'm going to have to research that one a bit more.
upvoted 0 times
Dominque
3 months ago
A) From Windows PowerShell, run the Enable-MMAgent cmdlet. I think it's related to managing mobile devices.
upvoted 0 times
...
Tamesha
3 months ago
B) From the local Group Policy, enable the Allow Remote Shell Access setting.
upvoted 0 times
...
Reita
3 months ago
C) From Windows PowerShell, run the Enable-PSRemoting cmdlet.
upvoted 0 times
...
...
Paul
4 months ago
D) From the local Group Policy, enable the Turn on Script Execution setting? Sounds like a good idea, but I'm not sure if that's the best approach here.
upvoted 0 times
Georgiana
3 months ago
D) From the local Group Policy, enable the Turn on Script Execution setting? That might work too, but enabling PSRemoting seems like the safer option.
upvoted 0 times
...
Lindy
3 months ago
B) From the local Group Policy, enable the Allow Remote Shell Access setting.
upvoted 0 times
...
Antonio
3 months ago
C) From Windows PowerShell, run the Enable-PSRemoting cmdlet? That should allow you to run PowerShell commands remotely.
upvoted 0 times
...
Maxima
4 months ago
A) From Windows PowerShell, run the Enable-PSRemoting cmdlet.
upvoted 0 times
...
...
Lemuel
5 months ago
Hmm, I was thinking B) From the local Group Policy, enable the Allow Remote Shell Access setting. Is that not the right way to go about this?
upvoted 0 times
...
Nada
5 months ago
C) From Windows PowerShell, run the Enable-PSRemoting cmdlet. This is the correct answer to enable remote PowerShell access on the finance department computers.
upvoted 0 times
Weldon
3 months ago
C) From Windows PowerShell, run the Enable-PSRemoting cmdlet.
upvoted 0 times
...
Loise
3 months ago
A) From Windows PowerShell, run the Enable-MMAgent cmdlet.
upvoted 0 times
...
Angelyn
3 months ago
C) From Windows PowerShell, run the Enable-PSRemoting cmdlet.
upvoted 0 times
...
Carissa
4 months ago
No problem, happy to help!
upvoted 0 times
...
Carin
4 months ago
Got it, thanks for the info!
upvoted 0 times
...
Lashaun
4 months ago
C) From Windows PowerShell, run the Enable-PSRemoting cmdlet.
upvoted 0 times
...
Dean
4 months ago
Thanks for the info! I'll make sure to do that on the finance department computers.
upvoted 0 times
...
Judy
5 months ago
C) From Windows PowerShell, run the Enable-PSRemoting cmdlet.
upvoted 0 times
...
...
Eleonora
5 months ago
That could be a valid option too, but I still think C is the best choice for this scenario.
upvoted 0 times
...
Whitley
5 months ago
I'm not sure, but I think D) From the local Group Policy, enable the Turn on Script Execution setting could also work.
upvoted 0 times
...
Viva
5 months ago
I agree with Eleonora, enabling PowerShell remoting makes sense for running scripts remotely.
upvoted 0 times
...
Eleonora
6 months ago
I think the answer is C) From Windows PowerShell, run the Enable-PSRemoting cmdlet.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77