Bird
0
0

Which parameter enables verbose output when running a PowerShell script?

easy📝 Conceptual Q2 of 15
PowerShell - Scripting Best Practices
Which parameter enables verbose output when running a PowerShell script?
A-Verbose
B-Debug
C-ErrorAction
D-Information
Step-by-Step Solution
Solution:
  1. Step 1: Identify verbose output parameter

    The -Verbose switch enables verbose messages during script execution.
  2. Step 2: Eliminate other options

    -Debug enables debug messages, -ErrorAction controls error handling, and -Information is for information streams.
  3. Final Answer:

    -Verbose -> Option A
  4. Quick Check:

    Verbose output = -Verbose [OK]
Quick Trick: Use -Verbose to see detailed script messages [OK]
Common Mistakes:
  • Using -Debug instead of -Verbose
  • Confusing -ErrorAction with verbose output
  • Assuming -Information enables verbose messages

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes