Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft MD-102 Exam - Topic 4 Question 27 Discussion

Posted by Lovetta on Jun 30, 2024 at 05:15 PM

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?

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.


Get Premium MD-102 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
40 comments · newest first
AD
Adrianna 12 months ago
Don't forget to check firewall settings too!
DA
Daniel 12 months ago
Wait, are you sure Enable-PSRemoting is enough?
JO
Johanna 12 months ago
I thought you had to change Group Policy instead?
HE
Helene 1 year ago
Totally agree, that's the right cmdlet!
HE
Heike 1 year ago
You need to run Enable-PSRemoting for remote commands.
RI
Rikki 1 year ago
I might be mixing things up, but I think we also talked about script execution settings in class. That could be relevant here, but I'm not confident.
KA
Kathryn 1 year ago
I feel like the Group Policy option could be right too, but I can't recall the exact setting we need to enable for remote shell access.
LE
Lezlie 1 year ago
I remember practicing a similar question where we had to enable PowerShell remoting. I think it was the Enable-PSRemoting cmdlet.
RY
Ryan 1 year ago
I think we need to enable something for remote access, but I'm not sure if it's the Group Policy or a PowerShell command.
DO
Donette 1 year ago
This seems like a good opportunity to demonstrate my PowerShell skills. I'm confident I can use the Enable-PSRemoting cmdlet to get this done quickly and efficiently.
LY
Lynda 1 year ago
I'm not too familiar with the MMAgent cmdlet, so I'm not sure if that's the right approach here. I think I'll focus on the group policy and PowerShell remoting options instead.
SA
Sarah 1 year ago
Okay, I've got this. The Enable-PSRemoting cmdlet is the way to go. That will allow me to run PowerShell commands remotely on those computers. Easy peasy!
CA
Casie 1 year ago
This looks like a pretty straightforward PowerShell question. I think the key is enabling remote access and execution on the finance department computers.
AN
An 1 year ago
Hmm, I'm a bit confused about the different options here. I'm not sure if I should be using a cmdlet or a group policy setting. I'll need to think this through carefully.
RO
Rosina 1 year ago
Okay, let me think this through. The "Equipment" category would be used to identify potential equipment-related causes of defects, so I'd want to consider things like calibration, tolerances, and wear and tear on equipment. I'm pretty confident I can narrow this down.
TR
Tricia 1 year ago
I'm not entirely sure about the purpose of creating a meta group, but I think it might have something to do with organizing or managing the data in some way. I'll need to review my notes to see if I can recall the specifics.
MA
Margurite 2 years 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!
LA
Lawrence 2 years 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.
DO
Dominque 2 years ago
↳ replying to Lawrence
A) From Windows PowerShell, run the Enable-MMAgent cmdlet. I think it's related to managing mobile devices.
TA
Tamesha 2 years ago
↳ replying to Lawrence
B) From the local Group Policy, enable the Allow Remote Shell Access setting.
RE
Reita 2 years ago
↳ replying to Lawrence
C) From Windows PowerShell, run the Enable-PSRemoting cmdlet.
PA
Paul 2 years 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.
GE
Georgiana 2 years ago
↳ replying to Paul
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.
LI
Lindy 2 years ago
↳ replying to Paul
B) From the local Group Policy, enable the Allow Remote Shell Access setting.
AN
Antonio 2 years ago
↳ replying to Paul
C) From Windows PowerShell, run the Enable-PSRemoting cmdlet? That should allow you to run PowerShell commands remotely.
MA
Maxima 2 years ago
↳ replying to Paul
A) From Windows PowerShell, run the Enable-PSRemoting cmdlet.
LE
Lemuel 2 years 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?
NA
Nada 2 years 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.
WE
Weldon 2 years ago
↳ replying to Nada
C) From Windows PowerShell, run the Enable-PSRemoting cmdlet.
LO
Loise 2 years ago
↳ replying to Nada
A) From Windows PowerShell, run the Enable-MMAgent cmdlet.
AN
Angelyn 2 years ago
↳ replying to Nada
C) From Windows PowerShell, run the Enable-PSRemoting cmdlet.
CA
Carissa 2 years ago
↳ replying to Nada
No problem, happy to help!
CA
Carin 2 years ago
↳ replying to Nada
Got it, thanks for the info!
LA
Lashaun 2 years ago
↳ replying to Nada
C) From Windows PowerShell, run the Enable-PSRemoting cmdlet.
DE
Dean 2 years ago
↳ replying to Nada
Thanks for the info! I'll make sure to do that on the finance department computers.
JU
Judy 2 years ago
↳ replying to Nada
C) From Windows PowerShell, run the Enable-PSRemoting cmdlet.
EL
Eleonora 2 years ago
That could be a valid option too, but I still think C is the best choice for this scenario.
WH
Whitley 2 years ago
I'm not sure, but I think D) From the local Group Policy, enable the Turn on Script Execution setting could also work.
VI
Viva 2 years ago
I agree with Eleonora, enabling PowerShell remoting makes sense for running scripts remotely.
EL
Eleonora 2 years ago
I think the answer is C) From Windows PowerShell, run the Enable-PSRemoting cmdlet.
0/2000 characters

Save Cancel