Bird
0
0

You want to enable PowerShell remoting on multiple computers remotely using a script. Which approach is BEST to ensure Enable-PSRemoting runs successfully on each target?

hard📝 Application Q15 of 15
PowerShell - Remote Management
You want to enable PowerShell remoting on multiple computers remotely using a script. Which approach is BEST to ensure Enable-PSRemoting runs successfully on each target?
ARun <code>Enable-PSRemoting -Force</code> remotely without admin rights
BRun <code>Enable-PSRemoting</code> locally on each computer manually
CDisable the firewall on all computers before running the command
DUse Group Policy to enable remoting settings on all computers
Step-by-Step Solution
Solution:
  1. Step 1: Consider scale and permissions and evaluate options for best practice

    Manually running on many computers is inefficient. Running remotely requires admin rights and proper setup. Group Policy centrally configures remoting and firewall rules efficiently and securely. Running remotely without admin rights fails. Disabling firewall is insecure and unnecessary if rules are configured.
  2. Final Answer:

    Use Group Policy to enable remoting settings on all computers -> Option D
  3. Quick Check:

    Group Policy = best for multi-computer setup [OK]
Quick Trick: Use Group Policy for mass remoting setup [OK]
Common Mistakes:
  • Trying to run remotely without admin rights
  • Disabling firewall instead of configuring it
  • Running commands manually on many machines

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes