Bird
0
0

You try to import the AD module but get an error: "The term 'Import-Module' is not recognized." What is the most likely fix?

medium📝 Debug Q7 of 15
PowerShell - Active Directory
You try to import the AD module but get an error: "The term 'Import-Module' is not recognized." What is the most likely fix?
ARun PowerShell as administrator
BRestart the computer
CInstall the Active Directory module first
DUse PowerShell version 5.1 or higher
Step-by-Step Solution
Solution:
  1. Step 1: Understand Import-Module availability

    Import-Module cmdlet is available starting from PowerShell version 2.0, but errors can occur if version is very old or corrupted.
  2. Step 2: Check PowerShell version requirement

    Using PowerShell 5.1 or higher ensures Import-Module is recognized and works properly.
  3. Final Answer:

    Use PowerShell version 5.1 or higher -> Option D
  4. Quick Check:

    Import-Module requires supported PowerShell version [OK]
Quick Trick: Ensure PowerShell version supports Import-Module cmdlet [OK]
Common Mistakes:
  • Assuming admin rights fix this error
  • Trying to install module before fixing PowerShell version
  • Restarting without checking version

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes