powershell print function code code example
Example 1: how to I display powershell function code
(get-command <FUNCTION_NAME>).definition
Example 2: powershell print to console
Write-Output "test output"
(get-command <FUNCTION_NAME>).definition
Write-Output "test output"