Bird
0
0

You want to update software on 50 servers quickly using PowerShell. Which approach best uses remote execution to scale management?

hard📝 Application Q15 of 15
PowerShell - Remote Management
You want to update software on 50 servers quickly using PowerShell. Which approach best uses remote execution to scale management?
ARun the update script manually on each server one by one
BUse Invoke-Command with a list of all 50 servers and the update script
CCopy the script to one server and run it locally there
DRestart each server to apply updates manually
Step-by-Step Solution
Solution:
  1. Step 1: Understand scaling with remote execution

    Running commands on many servers at once saves time compared to manual one-by-one execution.
  2. Step 2: Identify the best PowerShell method

    Invoke-Command can run a script block on multiple servers simultaneously, ideal for updating all 50 servers quickly.
  3. Final Answer:

    Use Invoke-Command with a list of all 50 servers and the update script -> Option B
  4. Quick Check:

    Invoke-Command + multiple servers = fast updates [OK]
Quick Trick: Invoke-Command with server list updates all at once [OK]
Common Mistakes:
  • Running scripts manually on each server
  • Running script only on one server locally
  • Restarting servers without automation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes