2
Vote

How to force "prompt()" call to use a custom Message

description

When powershell calls Prompt() due to missing parameters in a function call, it will auto-generate a $Message like:

"cmdlet <Function> at command pipeline position 1"

IT would be nice to override this behaviour.

Don't know how.

comments