Bird
0
0

Why does PowerShell use a pipeline that passes objects instead of text streams like traditional shells?

hard📝 Conceptual Q10 of 15
PowerShell - Basics and Environment
Why does PowerShell use a pipeline that passes objects instead of text streams like traditional shells?
ABecause objects allow richer data and easier automation
BBecause text streams are faster but less secure
CBecause PowerShell cannot handle text
DBecause objects use less memory than text
Step-by-Step Solution
Solution:
  1. Step 1: Understand pipeline data types

    Traditional shells pass text; PowerShell passes objects with properties and methods.
  2. Step 2: Recognize benefits of objects

    Objects enable richer data handling and simplify automation tasks.
  3. Final Answer:

    Because objects allow richer data and easier automation -> Option A
  4. Quick Check:

    Objects improve automation = B [OK]
Quick Trick: Objects carry data and methods, enabling powerful pipelines [OK]
Common Mistakes:
  • Thinking PowerShell cannot handle text
  • Assuming objects use less memory than text
  • Believing text streams are more secure

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes