Not all functions are imported from modules. If they're part of a dot-sourced ps1 script (such as your profile), ModuleName will be blank. There are also a number of built-in functions which don't have a module name either ("C:", "cd..", etc.) I assume that those come from the Microsoft.PowerShell.Core PSSnapin, rather than from a module.
The topic ‘How to find module that contains function?’ is closed to new replies.