PowerShell Genie

A cmdlet is not recognized. How do you troubleshoot it without reinstalling everything?

Question 1 min read Windows PowerShell 5.1 and PowerShell 7

Documentation: Microsoft Learn

Check command resolution, installed modules, PSModulePath, PowerShell edition, architecture and import errors.

Interview · Question 8 of 34

Answer before reveal

Your draft

Write the answer you would give in an interview. The model answer stays hidden until you have drafted at least a short response.

Primary documentation

Get-Command reference

Continue
Genie guideA cmdlet is not recognized. How do you troubleshoot it without reinstalling everything?

Check command resolution, installed modules, PSModulePath, PowerShell edition, architecture and import errors.