Command Sample
(Get-Command -Name prompt).ScriptBlockfunction prompt {$null}
Output
PS>Get-Command -Name pro* -CommandType Function
CommandType Name Version Source
----------- ---- ------- ------
Function prompt
PS>function prompt {$null}