There's no publlic API for getting the expression itself instead of a compiled delegate. Ideally this would be added: 1. To the type converter for `psdelegate` 1. As a switch parameter for `New-PSDelegate`