how to I display powershell function code

C++
(get-command <FUNCTION_NAME>).definition
Source

Also in C++: