Your network contains an Active Directory domain named contoso.com. The domain contains two computers named Computer! and Computer2 that run Windows 10. On Computer1, you need to run the Invoke-Command cmdlet to execute several PowerShell commands on Computed. What should you do first?
Suggested Answer: A
Get Premium MD-102 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
Microsoft Defender for Endpoint -- Important Service and Endpoint Settings You Should Configure Right Now.
As a prerequisite, however, head to tenant administration > connectors and tokens > Microsoft Defender for Endpoint and confirm the connection is enabled. You previously set this up in the advanced settings of Microsoft 365 Defender.
28 comments · newest first
MO
Mozell
11 months ago
C sounds complicated for just running a command.
AD
Adelaide
11 months ago
B is also a good option, but A is the right first step.
KE
Keva
11 months ago
Wait, can you really just use A? Seems too easy.
ED
Edna
11 months ago
Definitely A, no doubt about it.
AL
Altha
12 months ago
You need to run Enable-PSRemoting first!
PA
Paris
12 months ago
I’m a bit confused about the delegation settings mentioned in option C. Do we really need to configure that just to run Invoke-Command?
NO
Norah
1 year ago
I feel like we covered a question similar to this in class, and I think enabling remoting was crucial. So, option A seems like the best bet.
CA
Carlene
1 year ago
I'm not entirely sure, but I remember something about needing to add the computer to a specific group for remote management. Maybe option B is the right choice?
RU
Rutha
1 year ago
I think the first step is to enable PowerShell remoting on Computer2, so I would go with option A.
MA
Maile
1 year ago
Hmm, the deployment manifest file has some security concerns as well. I'll need to identify the two fields that need fixing based on the security best practices. Gotta be careful with that privileged access.
RE
Rebecka
1 year ago
Okay, let's see... I think the key is understanding what a preview outbound dialer is and how it works.
LE
Leatha
1 year ago
A is the obvious choice here. Who doesn't know that you need to enable remote PowerShell before running remote commands? Easy peasy!
GR
Graham
1 year ago
C looks like the most complicated option, but it might be the correct one. I'll have to do some research on the Trusted for Delegation setting.
SH
Sharan
1 year ago
Haha, D is a completely made-up cmdlet. What's the HcK-PSSession anyway? I'm sticking with A.
CE
Celestina
1 year ago
User3: Good call, A it is then.
MA
Major
1 year ago
User2: Yeah, I agree. D sounds fishy. Let's go with A.
SI
Simona
1 year ago
User1: A) On Computed, run the Enable-PSRemoting cmdlet.
AS
Ashlee
1 year ago
I'd go with B. Adding Computer1 to the Remote Management Users group on Computer2 should do the trick.
FA
Fairy
1 year ago
User2: Yeah, that sounds like the correct step to take. Let's go with B.
CE
Cecily
1 year ago
User1: I think B is the right option. Adding Computer1 to the Remote Management Users group on Computer2 should work.
GE
Gearldine
2 years ago
A is the way to go! You need to enable remote PowerShell on Computer2 before you can run commands on it from Computer1.
MI
Micah
1 year ago
User4: Definitely, User3. It's important to have that set up for smooth operations.
CE
Cecil
1 year ago
User3: Good call, User1. Enabling PSRemoting is essential for remote management.
DA
Dalene
1 year ago
User2: Thanks for the tip! I'll make sure to do that before running any PowerShell commands.
CA
Catalina
1 year ago
User1: A) On Computer2, run the Enable-PSRemoting cmdlet.
LI
Lizette
2 years ago
I'm not sure, but I think adding Computer1 to the Remote Management Users group could also work.
DO
Doug
2 years ago
I agree with Ernie. Enabling PSRemoting on Computer2 is necessary for running Invoke-Command.
ER
Ernie
2 years ago
I think the first thing we should do is enable PSRemoting on Computer2.