Bird
0
0

Which parameter of Get-Command helps you find commands from a specific module?

easy📝 Conceptual Q2 of 15
PowerShell - Basics and Environment
Which parameter of Get-Command helps you find commands from a specific module?
A-Module
B-CommandType
C-Parameter
D-Name
Step-by-Step Solution
Solution:
  1. Step 1: Identify parameters of Get-Command

    The -Module parameter filters commands by the module they belong to.
  2. Step 2: Eliminate other parameters

    -Name filters by command name, -Parameter filters by parameters, and -CommandType filters by command type, not module.
  3. Final Answer:

    -Module -> Option A
  4. Quick Check:

    Module filter = -Module [OK]
Quick Trick: Use -Module to find commands from a specific module [OK]
Common Mistakes:
  • Using -Name to filter modules
  • Confusing -Parameter with module filter
  • Assuming -CommandType filters modules

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes