Powershell function to find file location of function?

Hi,

How can I find the file location of a a powershell function (can't find a function and need it).

J.
janhoedtAsked:
Who is Participating?
 
janhoedtAuthor Commented:
Don't know why that would be relevant
Never mind btw. Pretty easy:
(get-command My-Function).Path then to copy content => (get-command My-Function).Definition | clip
0
 
Bill PrewCommented:
What is the function?


»bp
0
 
janhoedtAuthor Commented:
correct answer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.