Check module that contains a cmdlet

Check module that contains a cmdlet

Q. How can I check which module contains a cmdlet?

A. To check which module contains a cmdlet use the following:

Get-Command -type cmdlet <cmdlet> | fl *

In the output is a property ModuleName which shows the module that contains the cmdlet.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish